From aefafc25cd235183261efa2d59265855e0e992e1 Mon Sep 17 00:00:00 2001 From: Blaž Hrastnik Date: Mon, 29 Mar 2021 15:04:29 +0900 Subject: Replace Mode::Goto with just using on_next_key. --- helix-term/src/ui/editor.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'helix-term/src/ui') diff --git a/helix-term/src/ui/editor.rs b/helix-term/src/ui/editor.rs index f55411b8..bd0398a2 100644 --- a/helix-term/src/ui/editor.rs +++ b/helix-term/src/ui/editor.rs @@ -37,6 +37,7 @@ impl EditorView { on_next_key: None, } } + pub fn render_view( &self, doc: &Document, @@ -385,7 +386,6 @@ impl EditorView { Mode::Insert => "INS", Mode::Select => "SEL", Mode::Normal => "NOR", - Mode::Goto => "GOTO", }; // TODO: share text_color styles inside theme let text_color = if is_focused { -- cgit v1.2.3-70-g09d2