summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlaž Hrastnik2021-06-07 04:24:03 +0000
committerBlaž Hrastnik2021-06-07 04:24:03 +0000
commit14830e75ff9316f8a5a428a06f3b3c8c4706d35a (patch)
tree8701df5e606b78e286e777b37f67b51c241d4a32
parent59f94d13b8d61ce338ecf4957c6b4ad945021009 (diff)
Revert the line number rendering change, we were correct before
-rw-r--r--helix-term/src/ui/editor.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-term/src/ui/editor.rs b/helix-term/src/ui/editor.rs
index 8ce9cdc8..cd66b703 100644
--- a/helix-term/src/ui/editor.rs
+++ b/helix-term/src/ui/editor.rs
@@ -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(