ray-x / lsp_signature.nvim

LSP signature hint as you type
Apache License 2.0
1.98k stars 53 forks source link

Doc Lines Set to 0 will occasionally show more than 0 #318

Open addMoreCoffee opened 2 months ago

addMoreCoffee commented 2 months ago

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)
Kyren223 commented 5 days ago

This also happens to me and it's very annoying. @ray-x can you please fix this asap?