From 0cf5d77f72593593c6190373520d7826051b1a72 Mon Sep 17 00:00:00 2001 From: Jay Patel <36803168+jayp0521@users.noreply.github.com> Date: Tue, 22 Feb 2022 23:09:21 -0500 Subject: [PATCH] feat: Run :TSUpdate on TS Install / Update https://github.com/NvChad/NvChad/pull/838 > TreeSitter recommends running `:TSUpdate` after update with TS or on (re-)installation of Treesitter. Reference example recommended by TS: https://github.com/nvim-treesitter/nvim-treesitter/wiki/Installation --- lua/plugins/init.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/plugins/init.lua b/lua/plugins/init.lua index a6f915e..960d7cf 100644 --- a/lua/plugins/init.lua +++ b/lua/plugins/init.lua @@ -67,6 +67,7 @@ local plugins = { "nvim-treesitter/nvim-treesitter", event = "BufRead", config = override_req("nvim_treesitter", "plugins.configs.treesitter", "setup"), + run = ":TSUpdate", }, -- git stuff