-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
LSP hover empty sometimes after #10122 #12742
Comments
I logged helix/helix-term/src/ui/lsp/hover.rs Lines 167 to 189 in 28047fe
and got
|
I am seeing the markdown when I log here, helix/helix-term/src/ui/lsp/hover.rs Lines 55 to 58 in 28047fe
it's just not rendering properly. |
Seems to be an issue only when |
I think it's clipping one line too many. helix/helix-term/src/ui/lsp/hover.rs Lines 103 to 112 in 28047fe
|
The Hover component is used as the inner contents of a Popup. The Popup should be doing calculations based on whether popup_borders is configured and not Hover. This fixes an issue with hover rendering when the popup border option is enabled for popups. Fixes helix-editor#12742
Summary
I noticed this on master and was able to narrow it down to #10122. I noticed this with both Rust Analyzer and the Deno and Typescript LSPs.
Bad
Building 9829ac0 from source.
Good
Building 7c907e6 (parent of 9829ac0) from source.
Reproduction Steps
Simply put this in a file with a
.ts
extension and try to hover onf
.Simple repro file
TS language configs
I thought maybe it was caused by having multiple language servers, but it doesn't matter whether I have one or two in there.
I also get it with
deno-lsp
.Helix log
This is the log from
hx -v
.-vv
seemed to have a lot of noise that is unlikely to be relevant but I'll be happy to provide it if necessary.~/.cache/helix/helix.log
Platform
macOS
Terminal Emulator
ghostty adf4066b
Installation Method
source
Helix Version
helix 25.01.1 (9829ac0)
The text was updated successfully, but these errors were encountered: