Open biggiesmallsAG opened 3 months ago
how did you "install" the grammar?
how did you "install" the grammar?
https://github.com/nvim-treesitter/nvim-treesitter/commit/604aa5a7c8cf1fd0c4ad667a0cc7fb8aaf0be33e now nushell has been merged into nvim-treesitter
Describe the bug
The grammar package for tree-sitter-nu called by nvim-treesitter.withPlugins is never picked up by Neovim (v0.10.0).
Steps To Reproduce
Steps to reproduce the behavior: Install the grammar, open neovim, run checkhealth, see that the grammar's are loaded or not
Expected behavior
The grammar should be loaded by neovim and usable in a .nu (nushell file)
Screenshots
Additional context
From what i can see, the "nu" folder is linked to the tree-sitter-nu-grammar-0.22.5 folder in the nix store but it doesnt follow the same mechanism as the other grammars do:
The queries folder is a parent of nu which is a parent of nu which is a parent of the queries (highlights/indents/injections) like so: /n/s/brkhrsr7nklxgd63ngg2mw7vkvd9fjmk-vim-pack-dir/pack/myNeovimPackages/start/vimplugin-treesitter-grammar-nu/queries/nu/nu/queries
Other grammars are as follows: /n/s/b/pack/myNeovimPackages/start/vimplugin-treesitter-grammar-python/queries/python/queries
Notify maintainers
@Profpatsch
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.