This commit is contained in:
Mariano Z. 2024-12-21 11:22:16 -03:00
commit ae7d9bf4b6
Signed by: marianozunino
GPG key ID: 4C73BAD25156DACE
63 changed files with 2160 additions and 0 deletions

View file

@ -0,0 +1,42 @@
local M = {
"saghen/blink.cmp",
dependencies = "rafamadriz/friendly-snippets",
version = "v0.*",
}
M.config = function()
require("blink.cmp").setup({
keymap = {
["<C-space>"] = {
"show",
"show_documentation",
"hide_documentation",
},
["<C-d>"] = { "hide", "fallback" },
["<C-c>"] = { "hide", "fallback" },
["<C-k>"] = { "select_prev", "fallback" },
["<C-j>"] = { "select_next", "fallback" },
},
appearance = {
use_nvim_cmp_as_default = true,
nerd_font_variant = "mono",
},
signature = {
enabled = true,
},
completion = {
accept = {
create_undo_point = true,
auto_brackets = {
enabled = true,
},
},
},
})
end
return M