This commit is contained in:
Bryan Ramos 2026-04-30 16:35:19 -04:00
parent 17bf7e4973
commit 7d72471237
17 changed files with 297 additions and 538 deletions

30
lua/plugins/blink-cmp.lua Normal file
View file

@ -0,0 +1,30 @@
return {
{
"saghen/blink.cmp",
version = "*",
event = "InsertEnter",
opts = {
keymap = {
preset = "none",
["<C-y>"] = { "select_and_accept" },
["<C-e>"] = { "cancel" },
["<C-j>"] = { "select_next", "fallback" },
["<C-k>"] = { "select_prev", "fallback" },
["<C-f>"] = { "scroll_documentation_down", "fallback" },
["<C-d>"] = { "scroll_documentation_up", "fallback" },
},
completion = {
list = {
selection = { preselect = false, auto_insert = false },
},
documentation = {
auto_show = true,
auto_show_delay_ms = 200,
},
},
sources = {
default = { "lsp", "buffer", "path" },
},
},
},
}