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
This commit is contained in:
Jay Patel 2022-02-22 23:09:21 -05:00 committed by siduck
parent 05e48656de
commit 0cf5d77f72
1 changed files with 1 additions and 0 deletions

View File

@ -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