Skip to content

Conversation

@zlogic
Copy link

@zlogic zlogic commented Nov 8, 2025

When using the rust-analyzer LSP, omnicompletion doesn't show any documentation, only the Lazy doc text:

before.mov

This issue doesn't appear in some other LSPs, such as gopls.

With a few debug logs, I found that LspResolve() is never called: because the LspSetPopupFileType() autocommand (assigned later) has a replace: true.
The LspResolve() handler for CompleteChanged is then removed and replaced with LspSetPopupFileType().

The changes fixed the issue for me:

after.mov

@zlogic
Copy link
Author

zlogic commented Nov 8, 2025

#697 might be the root cause.

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

Successfully merging this pull request may close these issues.

1 participant