neovim: switch nix-shell plugin back to the old way

This commit is contained in:
2025-03-16 01:51:12 +00:00
parent 2ac61bfa14
commit 9b4ff72758

View File

@@ -192,8 +192,9 @@ with pkgs.vimPlugins;
plugin = nvim-treesitter.withPlugins (_: (lib.filter (p: p.pname != "unison-grammar") nvim-treesitter.allGrammars) ++ [ plugin = nvim-treesitter.withPlugins (_: (lib.filter (p: p.pname != "unison-grammar") nvim-treesitter.allGrammars) ++ [
# XXX: this is apparently not enough to enable syntax highlighting! # XXX: this is apparently not enough to enable syntax highlighting!
# nvim-treesitter ships its own queries which may be distinct from e.g. helix. # nvim-treesitter ships its own queries which may be distinct from e.g. helix.
# the queries aren't included when i ship the grammar in this manner # the queries aren't included when i ship the grammar in this manner.
pkgs.tree-sitter-nix-shell.nvimPlugin # maybe check: <https://github.com/nvim-treesitter/nvim-treesitter/wiki/Extra-modules-and-plugins> ?
pkgs.tree-sitter-nix-shell
]); ]);
type = "lua"; type = "lua";
config = '' config = ''