mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 08:35:43 +02:00
plugins/treesitter: fix settingsExample
This commit is contained in:
parent
0e8b248a52
commit
1a644b8c2b
1 changed files with 10 additions and 4 deletions
|
@ -155,14 +155,16 @@ helpers.neovim-plugin.mkNeovimPlugin config {
|
||||||
};
|
};
|
||||||
|
|
||||||
settingsExample = {
|
settingsExample = {
|
||||||
additional_vim_regex_highlighting = true;
|
auto_install = false;
|
||||||
ensure_installed = true;
|
ensure_installed = [ "all" ];
|
||||||
ignore_install = [ "rust" ];
|
ignore_install = [ "rust" ];
|
||||||
indent = true;
|
|
||||||
parser_install_dir = "$XDG_DATA_HOME/nvim/treesitter";
|
parser_install_dir = "$XDG_DATA_HOME/nvim/treesitter";
|
||||||
|
sync_install = false;
|
||||||
|
|
||||||
highlight = {
|
highlight = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
|
additional_vim_regex_highlighting = true;
|
||||||
disable = [ "rust" ];
|
disable = [ "rust" ];
|
||||||
custom_captures = { };
|
custom_captures = { };
|
||||||
};
|
};
|
||||||
|
@ -172,11 +174,15 @@ helpers.neovim-plugin.mkNeovimPlugin config {
|
||||||
|
|
||||||
keymaps = {
|
keymaps = {
|
||||||
init_selection = "gnn";
|
init_selection = "gnn";
|
||||||
|
node_decremental = "grm";
|
||||||
node_incremental = "grn";
|
node_incremental = "grn";
|
||||||
scope_incremental = "grc";
|
scope_incremental = "grc";
|
||||||
node_decremental = "grm";
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
indent = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
extraOptions = {
|
extraOptions = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue