diff options
Diffstat (limited to '.config')
| -rw-r--r-- | .config/nvim/lua/plugins/blink-cmp.lua | 9 | ||||
| -rw-r--r-- | .config/nvim/lua/plugins/lsp-signature.lua | 12 | ||||
| -rw-r--r-- | .config/nvim/lua/plugins/noice.lua | 12 |
3 files changed, 10 insertions, 23 deletions
diff --git a/.config/nvim/lua/plugins/blink-cmp.lua b/.config/nvim/lua/plugins/blink-cmp.lua index 0ece1d9..9d16974 100644 --- a/.config/nvim/lua/plugins/blink-cmp.lua +++ b/.config/nvim/lua/plugins/blink-cmp.lua @@ -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' }, diff --git a/.config/nvim/lua/plugins/lsp-signature.lua b/.config/nvim/lua/plugins/lsp-signature.lua deleted file mode 100644 index 718cd62..0000000 --- a/.config/nvim/lua/plugins/lsp-signature.lua +++ /dev/null @@ -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, - }, -} diff --git a/.config/nvim/lua/plugins/noice.lua b/.config/nvim/lua/plugins/noice.lua index 90f5994..2c87956 100644 --- a/.config/nvim/lua/plugins/noice.lua +++ b/.config/nvim/lua/plugins/noice.lua @@ -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 |
