Note: This is for people on {nixos,nixpkgs}-unstable only
If you were using vimPlugins.nvim-treesitter.withPlugins (_: tree-sitter.allGrammars), you can now switch to vimPlugins.nvim-treesitter.withAllGrammars to use the versions of tree sitter grammars specified in nvim-treesitter’s lock file.
If you were experiencing breakages with withPlugins and switched to :TSInstall, you can give the new version a try.
Refer to the new docs (scroll down to the treesitter section) for more information
People using nvim-treesitter.withPlugins (ps: [...]) should automatically get the updates without changing anything
This might be late, but I had the same issue, and it was fixed when I flipped this:
require("nvim-treesitter.configs").setup({
....
-- Automatically install missing parsers when entering buffer
auto_install = false, <-- This was set to true before
....
})
This issue is cause by nvim either wanting to install something additionally as mentioned by @figsoda.
This is a late contribution, but I hope I point someone in the right direction. The pointers above helped me a lot.
If not this, look for other places where you automagically install things. That should especially be applicable when migrating an existing config to nix (as suddenly you move to read-only)