summaryrefslogtreecommitdiffstats
path: root/src/globals.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-09-23 12:29:11 +0200
committerBram Moolenaar <Bram@vim.org>2020-09-23 12:29:11 +0200
commit189832bf661168df7ebd428e4088737718775fbd (patch)
tree41f4c1d46cc1b0b40dcff2969f189ddfd1b21d84 /src/globals.h
parentc53e9c57a9846655c2d3169788f4beefa6d22d90 (diff)
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/globals.h')
-rw-r--r--src/globals.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/globals.h b/src/globals.h
index 94164bbc3c..eb33507d9f 100644
--- a/src/globals.h
+++ b/src/globals.h
@@ -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