summaryrefslogtreecommitdiff
path: root/helix-term/src/ui
diff options
context:
space:
mode:
authorBlaž Hrastnik2021-03-29 06:04:29 +0000
committerBlaž Hrastnik2021-03-29 06:04:29 +0000
commitaefafc25cd235183261efa2d59265855e0e992e1 (patch)
treee2ba4b01a27917a870031ef32e5109d576268987 /helix-term/src/ui
parent1d96cbfbd2ef1d937490b1aaa19152dfc0ea0f76 (diff)
Replace Mode::Goto with just using on_next_key.
Diffstat (limited to 'helix-term/src/ui')
-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 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 {