Nvim-treesitter troubleshooting
From wikinotes
Could not create tree-sitter-html-tmp File exists
rm -rf /home/will/.local/share/nvim/tree-sitter-html-tmp
Simply
:TSUpdate lua
to force rebuild
Error executing lua Failed to load parser: uv_dlopen
This likely means you'll need to recompile the treesitter parsers.
I mostly encounter this while using anvim
provided by a nix environment.
This makes sense, since I likely built this extension using the system or an alternate nvim version.Uninstalling/Reinstalling (recompiling) the parser should resolve the issue.
:TSUninstall python :TSInstall pythonSee https://github.com/nvim-treesitter/nvim-treesitter/issues/1985