aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/normal.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/normal.c')
-rw-r--r--src/nvim/normal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/normal.c b/src/nvim/normal.c
index 73ea995d8f..a04316f5e4 100644
--- a/src/nvim/normal.c
+++ b/src/nvim/normal.c
@@ -995,7 +995,7 @@ static int normal_execute(VimState *state, int key)
// restart automatically.
// Insert the typed character in the typeahead buffer, so that it can
// be mapped in Insert mode. Required for ":lmap" to work.
- int len = ins_char_typebuf(s->c, mod_mask);
+ int len = ins_char_typebuf(vgetc_char, vgetc_mod_mask);
// When recording and gotchars() was called the character will be
// recorded again, remove the previous recording.