feat: blink.cmp, treesitter textobjects, snacks scroll, lsp cleanup
This commit is contained in:
parent
5dc158af55
commit
9c8ef71689
5 changed files with 39 additions and 27 deletions
27
plugins/treesitter.nix
Normal file
27
plugins/treesitter.nix
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
{...}: {
|
||||
vim.treesitter.textobjects = {
|
||||
enable = true;
|
||||
setupOpts = {
|
||||
select = {
|
||||
enable = true;
|
||||
lookahead = true;
|
||||
keymaps = {
|
||||
"af" = "@function.outer";
|
||||
"if" = "@function.inner";
|
||||
"ac" = "@class.outer";
|
||||
"ic" = "@class.inner";
|
||||
"aa" = "@parameter.outer";
|
||||
"ia" = "@parameter.inner";
|
||||
};
|
||||
};
|
||||
move = {
|
||||
enable = true;
|
||||
set_jumps = true;
|
||||
goto_next_start."]f" = "@function.outer";
|
||||
goto_previous_start."[f" = "@function.outer";
|
||||
goto_next_end."]F" = "@function.outer";
|
||||
goto_previous_end."[F" = "@function.outer";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue