Add signature throuh blink and remove lsp_signature
This commit is contained in:
@@ -2,7 +2,30 @@ return {
|
||||
"saghen/blink.cmp",
|
||||
dependecies = { "rafamadriz/friendly-snippets" },
|
||||
version = "1.*",
|
||||
---@module 'blink.cmp'
|
||||
---@type blink.cmp.Config
|
||||
opts = {
|
||||
keymap = { preset = "enter" }
|
||||
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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user