Add signature throuh blink and remove lsp_signature

This commit is contained in:
Pablu
2026-02-25 09:05:06 +01:00
parent 367f5dcc9a
commit fa443e82e8
3 changed files with 24 additions and 15 deletions

View File

@@ -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
}
}
}
}
}
}
}

View File

@@ -1,13 +0,0 @@
return {
"ray-x/lsp_signature.nvim",
event = "InsertEnter",
opts = {
bind = true,
handler_opts = {
border = "rounded"
},
hint_enable = false
},
-- or use config
-- config = function(_, opts) require'lsp_signature'.setup({you options}) end
}