diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-01-01 12:42:56 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-01-01 12:42:56 +0000 |
commit | b37a65e4bf08c4eec4fa5b81a5efc3945fca44de (patch) | |
tree | ccfedbf5f1c6b17765f0fccb82e7ca057fce15ca /src/getchar.c | |
parent | b79ee0c299d786627784f7304ba84b80e78ece26 (diff) |
patch 8.2.3966: when using feedkeys() abbreviations may be blockedv8.2.3966
Problem: When using feedkeys() abbreviations may be blocked.
Solution: Reset tb_no_abbr_cnt when running out of characters.
(closes #9448)
Diffstat (limited to 'src/getchar.c')
-rw-r--r-- | src/getchar.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/getchar.c b/src/getchar.c index 209ee06f07..704d4d3954 100644 --- a/src/getchar.c +++ b/src/getchar.c @@ -3239,6 +3239,9 @@ vgetorpeek(int advance) if (pending_exmode_active) exmode_active = EXMODE_NORMAL; + // no chars to block abbreviation for + typebuf.tb_no_abbr_cnt = 0; + break; } |