1
0
forked from aniani/vim

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

@@ -1152,6 +1152,11 @@ EXTERN typebuf_T typebuf // typeahead buffer
;
EXTERN int ex_normal_busy INIT(= 0); // recursiveness of ex_normal()
EXTERN int ex_normal_lock INIT(= 0); // forbid use of ex_normal()
#ifdef FEAT_PROP_POPUP
// Set to TRUE when ex_normal_busy is set and out of typeahead.
EXTERN int ex_normal_busy_done INIT(= FALSE);
#endif
#ifdef FEAT_EVAL
EXTERN int ignore_script INIT(= FALSE); // ignore script input
#endif