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:
zeertzjq
2022-07-08 21:04:45 +08:00
parent 45ba2e147f
commit 0d0a6aff6b
4 changed files with 19 additions and 0 deletions

View File

@@ -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;