You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When inline diagnostics are longer than the number of lines showed by Helix, and I edit a line below the error line. Inline diagnostics disappear instead of being partly showed, leaving a long blank space.
From what I understand, when the cursor is past the line generating the large diagnostics, the virtual lines of the diagnostics are rendered and this pushes the error line up.
If the error line is pushed too high (outside of the viewport), the insert_virtual_lines still returns space for the diagnostics, but the render_virtual_lines function doesn't render those and that's why we get the blank space
Summary
When inline diagnostics are longer than the number of lines showed by Helix, and I edit a line below the error line. Inline diagnostics disappear instead of being partly showed, leaving a long blank space.
Reproduction Steps
You can reproduce it on line 39 of the
config.rs
file in this branch : https://github.com/louis-thevenet/vault-tasks/tree/helix-broken-inline-diagnosticsHelix log
~/.cache/helix/helix.log
Platform
Linux
Terminal Emulator
Kitty
Installation Method
flake
Helix Version
Helix 24.7 (dc941d6)
The text was updated successfully, but these errors were encountered: