diff --git a/helix-term/src/ui/editor.rs b/helix-term/src/ui/editor.rs index 1989e0f89..6c8ee2d95 100644 --- a/helix-term/src/ui/editor.rs +++ b/helix-term/src/ui/editor.rs @@ -169,7 +169,7 @@ impl EditorView { } } - self.render_diagnostics(doc, view, inner, surface, theme); + Self::render_diagnostics(doc, view, inner, surface, theme); let statusline_area = view .area @@ -765,7 +765,6 @@ impl EditorView { } pub fn render_diagnostics( - &self, doc: &Document, view: &View, viewport: Rect,