diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-07-08 21:04:45 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2022-07-08 23:11:12 +0800 |
commit | 0d0a6aff6b89e2f48455b7f2f88e0b25d0a2080d (patch) | |
tree | 4bdeb8b5c39cda8a0f4697cc9462ceed30a4fc2a /src/nvim/ex_docmd.c | |
parent | 45ba2e147f7b7d17acb489d64acc257ceded0887 (diff) | |
download | rneovim-0d0a6aff6b89e2f48455b7f2f88e0b25d0a2080d.tar.gz rneovim-0d0a6aff6b89e2f48455b7f2f88e0b25d0a2080d.tar.bz2 rneovim-0d0a6aff6b89e2f48455b7f2f88e0b25d0a2080d.zip |
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.
https://github.com/vim/vim/commit/9e2bcb5d23138d45a0b6f9c1542b5facc807efe7
Diffstat (limited to 'src/nvim/ex_docmd.c')
-rw-r--r-- | src/nvim/ex_docmd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nvim/ex_docmd.c b/src/nvim/ex_docmd.c index d4fe55392e..2899e17039 100644 --- a/src/nvim/ex_docmd.c +++ b/src/nvim/ex_docmd.c @@ -7899,9 +7899,11 @@ void do_exedit(exarg_T *eap, win_T *old_curwin) need_wait_return = false; msg_scroll = 0; redraw_all_later(NOT_VALID); + pending_exmode_active = true; normal_enter(false, true); + pending_exmode_active = false; RedrawingDisabled = rd; no_wait_return = nwr; msg_scroll = ms; |