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/globals.h | |
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/globals.h')
-rw-r--r-- | src/globals.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/globals.h b/src/globals.h index 94164bbc3..eb33507d9 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 |