summaryrefslogtreecommitdiff
path: root/src/normal.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-05-29 22:41:41 +0200
committerBram Moolenaar <Bram@vim.org>2020-05-29 22:41:41 +0200
commitb42c0d54279b1fdb79652db0c84171e213458809 (patch)
treee2357934da698d1fb980de7cbfb8ccbd62d982cb /src/normal.c
parent09307e3bc1423d5e8a05464b94717a948d6c059a (diff)
downloadvim-git-b42c0d54279b1fdb79652db0c84171e213458809.tar.gz
patch 8.2.0839: dropping modifier when putting a character back in typeaheadv8.2.0839
Problem: Dropping modifier when putting a character back in typeahead. Solution: Add modifier to ins_char_typebuf(). (closes #6158)
Diffstat (limited to 'src/normal.c')
-rw-r--r--src/normal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/normal.c b/src/normal.c
index 690bb0081..48e1c71ae 100644
--- a/src/normal.c
+++ b/src/normal.c
@@ -595,7 +595,7 @@ normal_cmd(
// restart automatically.
// Insert the typed character in the typeahead buffer, so that it can
// be mapped in Insert mode. Required for ":lmap" to work.
- ins_char_typebuf(c);
+ ins_char_typebuf(vgetc_char, vgetc_mod_mask);
if (restart_edit != 0)
c = 'd';
else