mirror of
https://github.com/neovim/neovim.git
synced 2025-09-27 21:48:35 +00:00
vim-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 vim/vim#9448)
b37a65e4bf
This commit is contained in:
@@ -2304,6 +2304,10 @@ static int vgetorpeek(bool advance)
|
||||
c = ESC;
|
||||
}
|
||||
tc = c;
|
||||
|
||||
// no chars to block abbreviations for
|
||||
typebuf.tb_no_abbr_cnt = 0;
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user