lsp_signature.nvim
lsp_signature.nvim copied to clipboard
Doc Lines Set to 0 will occasionally show more than 0
When doc lines is set to 0, the setting doesn't appear to stick all the time. Removing a parenthesis and re-adding it can cause the popup to ignore the doc lines setting.
https://github.com/ray-x/lsp_signature.nvim/assets/8953727/f5fb49ab-5a0b-4ea8-b044-f51187dfe2b9
config:
local cfg = {
bind = true,
handler_opts = {
border = "rounded"
},
hint_enable = false,
hint_prefix = "",
doc_lines = 0,
}
require'lsp_signature'.setup(cfg)
This also happens to me and it's very annoying. @ray-x can you please fix this asap?
Could you also post
- the code snippets you are using
- the language server/LSP
So I can reproduce this issue. Thanks!
I tried it with the snippet vim.keymap.set() with luals
But this also happened in C and other languages.
I suspect it might be an issue with a different plugin (maybe lspconfig) I was not able to reproduce it with my current config, I had to go back a week to reproduce it Most notably in that week, I have updated all my plugin versions.
If you wish to investigate more, you may clone my dotfiles I can't reproduce it with my latest commit but I can if I checkout to this commit:
@addMoreCoffee can you try updating your plugins and see if it fixes it?