blob: 2c424bd21a26e5563d96e27695e117c1243fb1f3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
return {
"saghen/blink.cmp",
dependecies = { "rafamadriz/friendly-snippets" },
version = "1.*",
---@module 'blink.cmp'
---@type blink.cmp.Config
opts = {
keymap = {
preset = "enter",
['<C-k>'] = { 'show_signature', 'hide_signature', 'fallback' },
},
appearance = {
nerd_font_variant = "mono"
},
signature = {
enabled = true
},
completion = {
menu = {
draw = {
padding = { 0, 1 }, -- padding only on right side
components = {
kind_icon = {
text = function(ctx) return ' ' .. ctx.kind_icon .. ctx.icon_gap .. ' ' end
}
}
}
}
}
}
}
|