Fixed signature help madness
This commit is contained in:
@@ -59,8 +59,13 @@ return {
|
||||
},
|
||||
},
|
||||
|
||||
-- TODO: configure this when I get to fixing the LSP signature thing
|
||||
signature = {},
|
||||
signature = {
|
||||
enabled = true,
|
||||
window = {
|
||||
border = 'single',
|
||||
show_documentation = false,
|
||||
},
|
||||
},
|
||||
|
||||
fuzzy = { implementation = 'prefer_rust_with_warning' },
|
||||
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
return {
|
||||
-- FIXME: fork the repo and fix the following issues
|
||||
-- Make both insert and normal be toggelable rather than insert always showing and normal toggleable
|
||||
'ray-x/lsp_signature.nvim',
|
||||
event = 'LspAttach',
|
||||
opts = {
|
||||
bind = true, -- This is mandatory, otherwise border config won't get registered.
|
||||
handler_opts = { border = 'single' },
|
||||
doc_lines = 0,
|
||||
hint_enable = false,
|
||||
},
|
||||
}
|
||||
@@ -20,16 +20,10 @@ return {
|
||||
opts = {}, -- merged with defaults from documentation
|
||||
},
|
||||
signature = {
|
||||
-- NOTE: for some reason this makes the signature help prettier?
|
||||
-- not sure why noice does this, but might aswell use it
|
||||
enabled = true,
|
||||
auto_open = {
|
||||
enabled = true,
|
||||
trigger = true, -- Automatically show signature help when typing a trigger character from the LSP
|
||||
luasnip = true, -- Will open signature help when jumping to Luasnip insert nodes
|
||||
throttle = 50, -- Debounce lsp signature help request by 50ms
|
||||
},
|
||||
view = nil, -- when nil, use defaults from documentation
|
||||
---@type NoiceViewOptions
|
||||
opts = {}, -- merged with defaults from documentation
|
||||
auto_open = { enabled = false },
|
||||
},
|
||||
message = {
|
||||
-- Messages shown by lsp servers
|
||||
|
||||
Reference in New Issue
Block a user