diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-01-23 05:58:32 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2022-01-23 05:58:32 +0800 |
commit | 818456470c0ce0d463b0be82e9c35eb77cc65f19 (patch) | |
tree | 93eb2d32451041504585adf4189a692141c8aa1b /src/nvim/normal.c | |
parent | 7717f38d3f81cc739ef2b37829558d3d9eba9591 (diff) | |
download | rneovim-818456470c0ce0d463b0be82e9c35eb77cc65f19.tar.gz rneovim-818456470c0ce0d463b0be82e9c35eb77cc65f19.tar.bz2 rneovim-818456470c0ce0d463b0be82e9c35eb77cc65f19.zip |
fix(input): put modifiers back into typeahead buffer when needed
Diffstat (limited to 'src/nvim/normal.c')
-rw-r--r-- | src/nvim/normal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/normal.c b/src/nvim/normal.c index 2b5b47c0b3..c3b7e81d17 100644 --- a/src/nvim/normal.c +++ b/src/nvim/normal.c @@ -1010,7 +1010,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. - ins_char_typebuf(s->c); + ins_char_typebuf(s->c, mod_mask); if (restart_edit != 0) { s->c = 'd'; } else { |