helix-editor / helix

A post-modern modal text editor.
https://helix-editor.com
Mozilla Public License 2.0
34.02k stars 2.52k forks source link

Line numbers break when inline diagnostic is partly visible #11992

Open NomisIV opened 3 weeks ago

NomisIV commented 3 weeks ago

Summary

Inline diagnostic fully on screen: image

Inline diagnostic partly on screen: image

Reproduction Steps

I tried this: 1. `hx` I expected this to happen: Instead, this happened: ### Helix log
~/.cache/helix/helix.log ``` please provide a copy of `~/.cache/helix/helix.log` here if possible, you may need to redact some of the lines ```
### Platform Linux ### Terminal Emulator Alacritty (0.14.0) ### Installation Method flake ### Helix Version helix 24.7
poliorcetics commented 3 weeks ago

As a workaround, you can disable extended diagnostics (only have end of lines) by using editor.inline-diagnostics.other-lines = "disable", which is the default