Force nvim-treesitter to avoid startup parser installs and rely on Nix-provided grammars only, preventing stale ~/.local/share/nvim/site/parser .so files from causing query/parser mismatches (e.g. vim "tab" node errors on ":").
10 lines
194 B
Lua
10 lines
194 B
Lua
return {
|
|
{
|
|
"nvim-treesitter/nvim-treesitter",
|
|
opts = function(_, opts)
|
|
opts.auto_install = false
|
|
opts.sync_install = false
|
|
opts.ensure_installed = {}
|
|
end,
|
|
},
|
|
}
|