@@ -355,7 +355,7 @@ impl EditorView {
355 let info: Style = theme.get("info");
355 let info: Style = theme.get("info");
356 let hint: Style = theme.get("hint");
356 let hint: Style = theme.get("hint");
358− for (i, line) in (view.first_line..=last_line).enumerate() {
358+ for (i, line) in (view.first_line..last_line).enumerate() {
359 use helix_core::diagnostic::Severity;
359 use helix_core::diagnostic::Severity;
360 if let Some(diagnostic) = doc.diagnostics().iter().find(|d| d.line == line) {
360 if let Some(diagnostic) = doc.diagnostics().iter().find(|d| d.line == line) {
361 surface.set_stringn(
361 surface.set_stringn(