BREAKING CHANGE: Migrate to nvim-treesitter main branch #3295

Users must now use the :TSInstallAll command to install all treesitter parsers defined in their config. So there's no automatic downloading of treesitter parsers like before

tree-sitter-cli is a required dependency now

---------

Co-authored-by: siduck <siduck@tutanota.com>
This commit is contained in:
Nick Krichevsky
2026-01-17 23:02:48 +05:30
committed by GitHub
co-authored by siduck
parent 30e75dbbdf
commit 6a0715d3f3
3 changed files with 16 additions and 12 deletions
+1 -5
View File
@@ -156,15 +156,11 @@ return {
{
"nvim-treesitter/nvim-treesitter",
branch = "master",
event = { "BufReadPost", "BufNewFile" },
cmd = { "TSInstall", "TSBufEnable", "TSBufDisable", "TSModuleInfo" },
build = ":TSUpdate",
build = ":TSUpdate | TSInstallAll",
opts = function()
return require "nvchad.configs.treesitter"
end,
config = function(_, opts)
require("nvim-treesitter.configs").setup(opts)
end,
},
}