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

Don't send "no information available" on vim.lsp.buf.hover if at least one attached server has information #29282

Open
mawkler opened this issue Jun 11, 2024 · 1 comment
Labels
enhancement feature request lsp

Comments

@mawkler
Copy link
Sponsor Contributor

mawkler commented Jun 11, 2024

Problem

Currently, if you have multiple language servers attached to a buffer and at least one of them responds with no information on vim.lsp.buf.hover the message "no information available" is sent.

Expected behavior

The message "no information available" is only sent if none of the servers responded with hover information.

@mawkler mawkler added the enhancement feature request label Jun 11, 2024
@github-actions github-actions bot added the lsp label Jun 11, 2024
@mawkler mawkler changed the title Don't send "no information available" on vim.lsp.buf.hover if at least one attached server responds Don't send "no information available" on vim.lsp.buf.hover if at least one attached server has information Jun 11, 2024
@crwebb85
Copy link
Contributor

I was looking at the hover code the other day, and it appeared to me it would send the request to both, and based on the look, I expected the last response to win

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

No branches or pull requests

2 participants