aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/getchar.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-07-09 16:25:16 +0800
committerGitHub <noreply@github.com>2022-07-09 16:25:16 +0800
commit798acbca1bfe54d7050cad0189c93bfce5ec6965 (patch)
tree5dcf0038576254949636c167a0ec5d30d5240903 /src/nvim/getchar.c
parent45ba2e147f7b7d17acb489d64acc257ceded0887 (diff)
parentcf4aa6095f7908c9c427321a1c87bc119adc136a (diff)
downloadrneovim-798acbca1bfe54d7050cad0189c93bfce5ec6965.tar.gz
rneovim-798acbca1bfe54d7050cad0189c93bfce5ec6965.tar.bz2
rneovim-798acbca1bfe54d7050cad0189c93bfce5ec6965.zip
Merge pull request #19284 from zeertzjq/vim-8.2.0274
vim-patch:8.2.{0274,0325}
Diffstat (limited to 'src/nvim/getchar.c')
-rw-r--r--src/nvim/getchar.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/nvim/getchar.c b/src/nvim/getchar.c
index 0f6eddef9d..00372d4f3d 100644
--- a/src/nvim/getchar.c
+++ b/src/nvim/getchar.c
@@ -2475,6 +2475,11 @@ static int vgetorpeek(bool advance)
}
tc = c;
+ // return 0 in normal_check()
+ if (pending_exmode_active) {
+ exmode_active = true;
+ }
+
// no chars to block abbreviations for
typebuf.tb_no_abbr_cnt = 0;