Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Signature help window appears behind completion window #39

Open
yassiezar opened this issue Jul 25, 2023 · 5 comments
Open

Signature help window appears behind completion window #39

yassiezar opened this issue Jul 25, 2023 · 5 comments

Comments

@yassiezar
Copy link

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
Copy link

nbl0 commented Dec 6, 2023

Hello,

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

Regards,

@yassiezar
Copy link
Author

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

@ahogen
Copy link

ahogen commented Mar 20, 2024

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
Copy link
Author

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

image
image

@ahogen
Copy link

ahogen commented Mar 21, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants