lsp_signature.nvim
lsp_signature.nvim copied to clipboard
Popup closes on last parameter
I'm having a strange problem: the popup containing function signature hints stays open while I'm typing for all parameters but the last one. Last one gets closed as soon as I insert a character.
Excerpt from my config:
lua << EOF
local custom_on_attach = function (client)
require'lsp_signature'.on_attach()
end
require'lspconfig'.tsserver.setup{ on_attach = custom_on_attach }
EOF
lua << EOF
require "lsp_signature".setup({
bind = true, -- This is mandatory, otherwise border config won't get registered.
handler_opts = {
border = "rounded"
}
})
EOF
Yes. This behaviour is by design.
It is more a balance between auto close virtual text and work together with autopair plugins insert ). I will think about it to see if there is a better way to handle this.