diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-09-23 12:29:11 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-09-23 12:29:11 +0200 |
commit | 189832bf661168df7ebd428e4088737718775fbd (patch) | |
tree | 41f4c1d46cc1b0b40dcff2969f189ddfd1b21d84 /src/menu.c | |
parent | c53e9c57a9846655c2d3169788f4beefa6d22d90 (diff) | |
download | vim-git-189832bf661168df7ebd428e4088737718775fbd.tar.gz |
patch 8.2.1729: endless loop when ":normal" feeds popup window filterv8.2.1729
Problem: Endless loop when ":normal" feeds popup window filter.
Solution: Add the ex_normal_busy_done flag.
Diffstat (limited to 'src/menu.c')
-rw-r--r-- | src/menu.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/menu.c b/src/menu.c index fd811de06..f383ddde7 100644 --- a/src/menu.c +++ b/src/menu.c @@ -2398,6 +2398,10 @@ execute_menu(exarg_T *eap, vimmenu_T *menu, int mode_idx) menu->silent[idx]); restore_current_state(&save_state); --ex_normal_busy; +#ifdef FEAT_PROP_POPUP + if (ex_normal_busy == 0) + ex_normal_busy_done = FALSE; +#endif } else ins_typebuf(menu->strings[idx], menu->noremap[idx], 0, |