wip: Still not ready for csharp tree-sitter

This commit is contained in:
Jeremy Wall 2025-02-03 11:05:56 -05:00
parent 3b4e01cc08
commit 89cc0c8442

View File

@ -108,11 +108,13 @@
roslyn-nvim = custom-flakes.packages."${system}".roslyn-nvim;
ionide-nvim = custom-flakes.packages."${system}".ionide-nvim;
nvim = neovim-flake.packages."${system}".neovim;
tree-sitter-csharp = pkgs.callPackage ./nvim-treesitter-csharp.nix {
inherit (pkgs.neovimUtils) grammarToPlugin;
inherit (pkgs.tree-sitter) buildGrammar;
inherit (pkgs) fetchFromGitHub;
};
# TODO(zaphar): Until nixpkgs update to a newer version of tree-sitter the queries will be wrong
# for csharp
#tree-sitter-csharp = pkgs.callPackage ./nvim-treesitter-csharp.nix {
# inherit (pkgs.neovimUtils) grammarToPlugin;
# inherit (pkgs.tree-sitter) buildGrammar;
# inherit (pkgs) fetchFromGitHub;
#};
# TODO(jwall): When this actually builds we should use it.
#nvim-treesitter-powershell = pkgs.callPackage ./nvim-powershell.nix {
# inherit (pkgs.tree-sitter) buildGrammar;
@ -213,7 +215,14 @@ EOF";
vim-dadbod-completion
vim-dasht
direnv-vim
]) ++ [ possession-nvim harpoon-nvim d2-vim hunk-nvim neogit-nvim tree-sitter-csharp.neovim-plugin ];
]) ++ [
possession-nvim
harpoon-nvim
d2-vim
hunk-nvim
neogit-nvim
# tree-sitter-csharp.neovim-plugin # Until nixpkgs updates their nvim-treesitter config the csharp queries will be broken
];
};
};
};