mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 08:35:43 +02:00
plugins/treesitter: update docs for custom grammar installation
This commit is contained in:
parent
354fc0f288
commit
9f32e25f3f
1 changed files with 27 additions and 25 deletions
|
@ -102,7 +102,8 @@ lib.nixvim.neovim-plugin.mkNeovimPlugin {
|
|||
# treesitter-nu-grammar = pkgs.tree-sitter-grammars.tree-sitter-nu;
|
||||
in
|
||||
{
|
||||
programs.nixvim.plugins = {
|
||||
programs.nixvim = {
|
||||
plugins = {
|
||||
treesitter = {
|
||||
enable = true;
|
||||
settings.indent.enable = true;
|
||||
|
@ -128,6 +129,7 @@ lib.nixvim.neovim-plugin.mkNeovimPlugin {
|
|||
end
|
||||
''';
|
||||
};
|
||||
};
|
||||
|
||||
# Add as extra plugins so that their `queries/{language}/*.scm` get
|
||||
# installed and can be picked up by `tree-sitter`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue