home/nixvim | enable treesitter
This commit is contained in:
parent
72c7170561
commit
6b68b7fa9a
1 changed files with 29 additions and 0 deletions
|
|
@ -36,6 +36,7 @@
|
||||||
cmp-buffer.enable = true;
|
cmp-buffer.enable = true;
|
||||||
cmp-nvim-lsp.enable = true;
|
cmp-nvim-lsp.enable = true;
|
||||||
cmp-path.enable = true;
|
cmp-path.enable = true;
|
||||||
|
cmp-treesitter.enable = true;
|
||||||
cmp_luasnip.enable = true;
|
cmp_luasnip.enable = true;
|
||||||
comment.enable = true;
|
comment.enable = true;
|
||||||
friendly-snippets.enable = true;
|
friendly-snippets.enable = true;
|
||||||
|
|
@ -83,6 +84,34 @@
|
||||||
};
|
};
|
||||||
project-nvim.enable = true;
|
project-nvim.enable = true;
|
||||||
telescope.enable = true;
|
telescope.enable = true;
|
||||||
|
treesitter = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
auto_install = true;
|
||||||
|
ensure_installed = "all";
|
||||||
|
highlight = {
|
||||||
|
additional_vim_regex_highlighting = true;
|
||||||
|
custom_captures = { };
|
||||||
|
enable = true;
|
||||||
|
disable = [ "ipgk" ];
|
||||||
|
};
|
||||||
|
ignore_install = [ "ipkg" ];
|
||||||
|
incremental_selection = {
|
||||||
|
enable = true;
|
||||||
|
keymaps = {
|
||||||
|
init_selection = false;
|
||||||
|
node_decremental = "grm";
|
||||||
|
node_incremental = "grn";
|
||||||
|
scope_incremental = "grc";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
indent = { enable = true; };
|
||||||
|
parser_install_dir = {
|
||||||
|
__raw = "vim.fs.joinpath(vim.fn.stdpath('data'), 'treesitter')";
|
||||||
|
};
|
||||||
|
sync_install = false;
|
||||||
|
};
|
||||||
|
};
|
||||||
web-devicons.enable = true;
|
web-devicons.enable = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue