mirror of
https://github.com/ilyakooo0/helix.git
synced 2024-12-01 19:58:12 +03:00
Revert the line number rendering change, we were correct before
This commit is contained in:
parent
59f94d13b8
commit
14830e75ff
@ -355,7 +355,7 @@ impl EditorView {
|
||||
let info: Style = theme.get("info");
|
||||
let hint: Style = theme.get("hint");
|
||||
|
||||
for (i, line) in (view.first_line..=last_line).enumerate() {
|
||||
for (i, line) in (view.first_line..last_line).enumerate() {
|
||||
use helix_core::diagnostic::Severity;
|
||||
if let Some(diagnostic) = doc.diagnostics().iter().find(|d| d.line == line) {
|
||||
surface.set_stringn(
|
||||
|
Loading…
Reference in New Issue
Block a user