tree-sitter: Switch to using nvim-treesitter grammars (#131)

The grammars in the tree-sitter package and nvim-treesitter package are
not the same. The grammars in the nvim-treesitter package are directly
taken from the grammars supported by the plugin, whereas tree-sitter
grammars are hard-coded in nixpkgs.

This means that there are more tree-sitter grammars available from
nvim-treesitter rather than tree-sitter.
This commit is contained in:
traxys 2023-01-21 18:02:16 +01:00 committed by GitHub
parent 809aeb7561
commit 55ed602814
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -81,7 +81,7 @@ in
grammarPackages = mkOption {
type = with types; listOf package;
default = pkgs.tree-sitter.allGrammars;
default = cfg.package.passthru.allGrammars;
description = "Grammar packages to install";
};