mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +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 = {
|
||||
additional_vim_regex_highlighting = true;
|
||||
ensure_installed = true;
|
||||
auto_install = false;
|
||||
ensure_installed = [ "all" ];
|
||||
ignore_install = [ "rust" ];
|
||||
indent = true;
|
||||
parser_install_dir = "$XDG_DATA_HOME/nvim/treesitter";
|
||||
sync_install = false;
|
||||
|
||||
highlight = {
|
||||
enable = true;
|
||||
|
||||
additional_vim_regex_highlighting = true;
|
||||
disable = [ "rust" ];
|
||||
custom_captures = { };
|
||||
};
|
||||
|
@ -172,11 +174,15 @@ helpers.neovim-plugin.mkNeovimPlugin config {
|
|||
|
||||
keymaps = {
|
||||
init_selection = "gnn";
|
||||
node_decremental = "grm";
|
||||
node_incremental = "grn";
|
||||
scope_incremental = "grc";
|
||||
node_decremental = "grm";
|
||||
};
|
||||
};
|
||||
|
||||
indent = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
extraOptions = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue