treesitter: custom grammars

This commit is contained in:
Pedro Alves 2022-12-01 14:07:08 +00:00
parent 36bc31ed5c
commit 6537e9aa1f
2 changed files with 14 additions and 14 deletions

View file

@ -65,12 +65,12 @@ in
indent = mkEnableOption "Enable tree-sitter based indentation";
folding = mkEnableOption "Enable tree-sitter based folding";
};
grammarPackages = mkOption {
type = with types; listOf package;
default = pkgs.tree-sitter.allGrammars;
description = "Grammar packages to install";
grammarPackages = mkOption {
type = with types; listOf package;
default = pkgs.tree-sitter.allGrammars;
description = "Grammar packages to install";
};
};
};