diff src/globals.h @ 22361:00f2eebe74d9 v8.2.1729

patch 8.2.1729: endless loop when ":normal" feeds popup window filter Commit: https://github.com/vim/vim/commit/189832bf661168df7ebd428e4088737718775fbd Author: Bram Moolenaar <Bram@vim.org> Date: Wed Sep 23 12:29:11 2020 +0200 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.
author Bram Moolenaar <Bram@vim.org>
date Wed, 23 Sep 2020 12:30:04 +0200
parents 6b385c2b9ff5
children 73be82f278c0
line wrap: on
line diff
--- a/src/globals.h
+++ b/src/globals.h
@@ -1152,6 +1152,11 @@ EXTERN typebuf_T typebuf		// typeahead b
 		    ;
 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