viminal2/lua/plugins/blink-cmp.lua

39 lines
946 B
Lua
Raw Normal View History

2024-10-09 17:13:16 -07:00
return {
"blink.cmp",
2024-10-10 00:48:10 -07:00
event = "BufEnter",
after = function()
require("blink.cmp").setup({
keymap = { preset = "default" },
appearance = {
use_nvim_cmp_as_default = true,
nerd_font_variant = "normal",
},
2024-12-28 21:17:01 -08:00
sources = {},
completion = {
2024-12-28 21:17:01 -08:00
menu = {
border = "rounded",
draw = {
columns = {
{ "kind_icon", "kind" },
{ "label", "label_description", gap = 2 },
},
treesitter = { "lsp" },
},
},
documentation = {
auto_show = true,
auto_show_delay_ms = 500,
update_delay_ms = 50,
treesitter_highlighting = true,
2024-12-28 21:17:01 -08:00
window = { border = "rounded" },
},
},
2024-12-28 21:17:01 -08:00
signature = {
window = { border = "rounded" },
enabled = true,
},
fuzzy = { prebuilt_binaries = { download = false } },
2024-10-10 00:48:10 -07:00
})
end,
2024-10-09 17:13:16 -07:00
}