feat: blink.cmp, treesitter textobjects, snacks scroll, lsp cleanup

This commit is contained in:
antoine 2026-04-18 11:28:18 +02:00
parent 5dc158af55
commit 9c8ef71689
Signed by: antoine
GPG key ID: 9EB6BAADC51B6133
5 changed files with 39 additions and 27 deletions

27
plugins/treesitter.nix Normal file
View 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";
};
};
};
}