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