mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-09 08:44:32 +02:00
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:
parent
809aeb7561
commit
55ed602814
1 changed files with 1 additions and 1 deletions
|
@ -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";
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue