diff --git a/.config/nvim/lua/josean/plugins-setup.lua b/.config/nvim/lua/josean/plugins-setup.lua index 14b2884..3d3a050 100644 --- a/.config/nvim/lua/josean/plugins-setup.lua +++ b/.config/nvim/lua/josean/plugins-setup.lua @@ -88,7 +88,8 @@ return packer.startup(function(use) use({ "nvim-treesitter/nvim-treesitter", run = function() - require("nvim-treesitter.install").update({ with_sync = true }) + local ts_update = require("nvim-treesitter.install").update({ with_sync = true }) + ts_update() end, })