commit | b37a65e4bf08c4eec4fa5b81a5efc3945fca44de | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sat Jan 01 12:42:56 2022 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Sat Jan 01 12:42:56 2022 +0000 |
tree | ccfedbf5f1c6b17765f0fccb82e7ca057fce15ca | |
parent | b79ee0c299d786627784f7304ba84b80e78ece26 [diff] [blame] |
patch 8.2.3966: when using feedkeys() abbreviations may be blocked Problem: When using feedkeys() abbreviations may be blocked. Solution: Reset tb_no_abbr_cnt when running out of characters. (closes #9448)
diff --git a/src/getchar.c b/src/getchar.c index 209ee06..704d4d3 100644 --- a/src/getchar.c +++ b/src/getchar.c
@@ -3239,6 +3239,9 @@ if (pending_exmode_active) exmode_active = EXMODE_NORMAL; + // no chars to block abbreviation for + typebuf.tb_no_abbr_cnt = 0; + break; }