feat: eye candy for blink-cmp

This commit is contained in:
Youwen Wu 2024-12-28 21:17:01 -08:00
parent 19c4d0c7fc
commit 6487a7a30f
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3

View file

@ -4,27 +4,35 @@ return {
after = function()
require("blink.cmp").setup({
keymap = { preset = "default" },
appearance = {
use_nvim_cmp_as_default = true,
nerd_font_variant = "normal",
},
sources = {
default = { "lsp", "path", "snippets", "buffer" },
},
sources = {},
completion = {
menu = { border = "single" },
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,
window = { border = "single" },
window = { border = "rounded" },
},
},
signature = { window = { border = "single" } },
fuzzy = { prebuilt_binaries = { force_version = "" } },
signature = {
window = { border = "rounded" },
enabled = true,
},
fuzzy = { prebuilt_binaries = { download = false } },
})
end,
}