treesitter: parsers -> grammarPlugins

This commit is contained in:
Heitor Augusto 2026-01-08 15:53:02 -03:00
commit dd36db36d6
No known key found for this signature in database
GPG key ID: 3EEC05B0024AF8A4

View file

@ -16,7 +16,7 @@ in {
type = listOf package; type = listOf package;
default = []; default = [];
example = literalExpression '' example = literalExpression ''
with pkgs.vimPlugins.nvim-treesitter.parsers; [ with pkgs.vimPlugins.nvim-treesitter.grammarPlugins; [
regex regex
kdl kdl
]; ];
@ -47,7 +47,7 @@ in {
internal = true; internal = true;
readOnly = true; readOnly = true;
type = listOf package; type = listOf package;
default = with pkgs.vimPlugins.nvim-treesitter.parsers; [c lua vim vimdoc query]; default = with pkgs.vimPlugins.nvim-treesitter.grammarPlugins; [c lua vim vimdoc query];
description = '' description = ''
A list of treesitter grammars that will be installed by default A list of treesitter grammars that will be installed by default
if treesitter has been enabled and {option}`vim.treeesitter.addDefaultGrammars` if treesitter has been enabled and {option}`vim.treeesitter.addDefaultGrammars`