feat(keybinds, lua func, cmp): QOL changes basically

- removed hindering material like nvim adding more comments upon
  pressing `Enter`
- removed snippets, not needed + disrupted commenting
- added more keybinds (telescope.nvim, wrap around pairs, venv
  selection)
- added QOL changes like venv-selector + ecolog.nvim w/
- added blink.cmp provders (ecolog + convential commits)
This commit is contained in:
devaine 2026-08-16 20:36:12 -05:00
commit bd2f808931
Signed by: devaine
GPG key ID: 954B1DCAC6FF84EE
13 changed files with 206 additions and 109 deletions

29
lua/plugins/completion.lua Normal file → Executable file
View file

@ -2,13 +2,9 @@ return {
{
"saghen/blink.cmp",
dependencies = {
{ "rafamadriz/friendly-snippets" },
{ "disrupted/blink-cmp-conventional-commits" }
},
version = "1.*",
---@module 'blink.cmp'
---@type blink.cmp.Config
opts = {
keymap = {
preset = "none",
@ -34,12 +30,12 @@ return {
},
["<S-Tab>"] = { "select_prev", "fallback" },
["<CR>"] = { "select_and_accept", "fallback" },
["<C-e>"] = { "hide", "fallback" },
["<C-e>"] = { "show", "hide", "fallback" },
},
completion = {
trigger = {
show_on_x_blocked_trigger_characters = { "." },
show_on_x_blocked_trigger_characters = { ".", "[", "]", "(", ")", "/", '"' },
},
documentation = {
auto_show = true,
@ -50,8 +46,25 @@ return {
},
sources = {
default = { "lsp", "path", "snippets", "buffer" },
default = { "lsp", "path", "ecolog", "conventional_commits" },
min_keyword_length = 0,
providers = {
ecolog = {
name = "ecolog",
module = "ecolog.integrations.cmp.blink_cmp"
},
conventional_commits = {
name = 'Conventional Commits',
module = 'blink-cmp-conventional-commits',
enabled = function()
return vim.bo.filetype == 'gitcommit'
end,
opts = {
},
}
}
},
signature = { enabled = true },