aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/nvim/ex_getln.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nvim/ex_getln.c b/src/nvim/ex_getln.c
index 13515be8fa..52292128d8 100644
--- a/src/nvim/ex_getln.c
+++ b/src/nvim/ex_getln.c
@@ -852,7 +852,11 @@ static int command_line_execute(VimState *state, int key)
}
s->do_abbr = true; // default: check for abbreviation
+ return command_line_handle_key(s);
+}
+static int command_line_handle_key(CommandLineState *s)
+{
// Big switch for a typed command line character.
switch (s->c) {
case K_BS: