cmp-nvim-lsp-signature-help icon indicating copy to clipboard operation
cmp-nvim-lsp-signature-help copied to clipboard

Signature help window appears behind completion window

Open yassiezar opened this issue 1 year ago • 5 comments

I have a problem where the signature help hover window is placed behind the autocomplete suggestion window (see screenshot). I have my cmp configured to always run the completion engine, but trigger the signature help on ctrl+h. What you see below is what it looks like just after triggering the help.

Is there a window configuration option I need to modify? I had a look at the options in cmp and lsp-zero, but nothing stood out

image

yassiezar avatar Jul 25 '23 14:07 yassiezar

Hello,

I'm experiencing the same issue as you. Have you found a solution?

Regards,

nbl0 avatar Dec 06 '23 17:12 nbl0

No unfortunately not. I've updated my Neovim and all my plugins, but the problem is still there.

yassiezar avatar Dec 17 '23 10:12 yassiezar

Fixed in my config by telling the cmp plugin to use nvim_lsp_signature_help as a "source", just like this project's README describes.

ahogen avatar Mar 20 '24 19:03 ahogen

My cmp config includes nvim_lsp_signature_help as a source, but the window occlusion still happens for me.

image image

yassiezar avatar Mar 21 '24 08:03 yassiezar

Ah you might be right. I'm in a C file right now and when I said it was working for me, I was referring to how it looks when I'm typing out arguments to a function, like this.

image

But yeah it looks like if the LSP completion pops up first and I try to <Ctrl+n> to cycle through the list of options in that list, then this signature thing can pop up on top of the LSP completion...?

image

ahogen avatar Mar 21 '24 21:03 ahogen