mirror of
https://github.com/neovim/neovim.git
synced 2025-09-27 21:48:35 +00:00
vim-patch:8.2.0274: hang with combination of feedkeys(), Ex mode and :global
Problem: Hang with combination of feedkeys(), Ex mode and :global.
(Yegappan Lakshmanan)
Solution: Add the pending_exmode_active flag.
9e2bcb5d23
This commit is contained in:
@@ -2475,6 +2475,11 @@ static int vgetorpeek(bool advance)
|
||||
}
|
||||
tc = c;
|
||||
|
||||
// return 0 in normal_check()
|
||||
if (pending_exmode_active) {
|
||||
exmode_active = true;
|
||||
}
|
||||
|
||||
// no chars to block abbreviations for
|
||||
typebuf.tb_no_abbr_cnt = 0;
|
||||
|
||||
|
Reference in New Issue
Block a user