0
0
mirror of https://github.com/vim/vim.git synced 2025-09-27 04:14:06 -04:00

patch 8.2.1729: endless loop when ":normal" feeds popup window filter

Problem:    Endless loop when ":normal" feeds popup window filter.
Solution:   Add the ex_normal_busy_done flag.
This commit is contained in:
Bram Moolenaar
2020-09-23 12:29:11 +02:00
parent c53e9c57a9
commit 189832bf66
8 changed files with 53 additions and 1 deletions

View File

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