comparison src/getchar.c @ 26875:e06cbcf4b94b v8.2.3966

patch 8.2.3966: when using feedkeys() abbreviations may be blocked Commit: https://github.com/vim/vim/commit/b37a65e4bf08c4eec4fa5b81a5efc3945fca44de Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jan 1 12:42:56 2022 +0000 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)
author Bram Moolenaar <Bram@vim.org>
date Sat, 01 Jan 2022 13:45:03 +0100
parents df2de1e63de0
children 06a137af96f8
comparison
equal deleted inserted replaced
26874:64d54e4f7f6d 26875:e06cbcf4b94b
3237 #endif 3237 #endif
3238 // return from main_loop() 3238 // return from main_loop()
3239 if (pending_exmode_active) 3239 if (pending_exmode_active)
3240 exmode_active = EXMODE_NORMAL; 3240 exmode_active = EXMODE_NORMAL;
3241 3241
3242 // no chars to block abbreviation for
3243 typebuf.tb_no_abbr_cnt = 0;
3244
3242 break; 3245 break;
3243 } 3246 }
3244 3247
3245 /* 3248 /*
3246 * get a character: 3. from the user - update display 3249 * get a character: 3. from the user - update display