Closed gador closed 2 years ago
Could you try manually setting plugins.treesitter.nixGrammars
to both true and false? One of them might work.
Don't get me wrong, this is 100% a bug and I'm trying to figure it out, but I think I've had success with that workaround and manually doing :TSUninstall all
followed by :TSInstall all
Hi @pta2002 thanks for the promt answer! Unfortunately neither option helped. It always results in the same error message about treesitter not being able to read/write. Only disabling treesitter completely got rid of the error message..
This seems to be triggered by a change in treesitter. Upstream issue is here: https://github.com/NixOS/nixpkgs/issues/189838. For now, I'll see if I can implement the suggested workaround, but this seems like an upstream problem unfortunately
ah, yes, I see. Thanks for investigating further!
Temporarily fixed by implementing the suggested workaround if nixGrammars = true
. This bypasses nvim-treesitter
's parser management and installs all of the parsers directly from nix. Should fix a few issues regarding mismatched libc versions, too.
Hi, I'm getting the following error:
My config is the following:
This happens on 88fb867da5d3b4785c8c52ea9d0ca2185b0dd51a (current master)