hrsh7th / cmp-nvim-lsp-signature-help

cmp-nvim-lsp-signature-help
622 stars 27 forks source link

Signature help window appears behind completion window #39

Open yassiezar opened 1 year ago

yassiezar commented 1 year ago

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

nbl0 commented 10 months ago

Hello,

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

Regards,

yassiezar commented 9 months ago

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

ahogen commented 6 months ago

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.

yassiezar commented 6 months ago

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

image image

ahogen commented 6 months ago

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