nixos-configs/modules/editor/vim/lua/plugins/treesitter.lua
Paul-Henri Froidmont 05d0920595
fix(nvim): stop treesitter parser drift from local site installs
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 ":").
2026-03-25 01:21:20 +01:00

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,
},
}