Getting strange errors when setting up treesitter for nvim, TSUpdate show that all parsers are up to date, have set some to be automaticly installed, and it does install, however it is not there. and if I try to start nvim again, it gives error:
nvim-treesitter[nix]: Error during tarball extraction.
tar (child): tree-sitter-nix.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
Did you look at my config?
I can do a TSInstall c, however nothing works, it installs, it says but there is no highlight nor when I do, TSInstallInfo it show nothing installed
Why are you making your own module for this? Just install the plugins as described in the wiki so that they will be installed with Nix itself rather than relying on nvim to resolve them. That was the point of linking the wiki.
The prebuilt grammars neovim tries to install are not nix-aware and so are likely not linked correctly to work out of the box.