mirror of
https://github.com/vim/vim.git
synced 2025-09-27 04:14:06 -04:00
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)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user