From de7061dd5373100c2c1dccb1f759ad350a5cf88a Mon Sep 17 00:00:00 2001 From: josean-dev Date: Fri, 11 Nov 2022 16:45:42 -0400 Subject: [PATCH] Updated nvim-treesitter packer installation to properly update parsers --- .config/nvim/lua/josean/plugins-setup.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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, })