plugins/treesitter: fix settingsExample

This commit is contained in:
Austin Horstman 2024-07-08 14:17:44 -05:00
parent 0e8b248a52
commit 1a644b8c2b
No known key found for this signature in database

View file

@ -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 = {