summaryrefslogtreecommitdiffstats
path: root/src/globals.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/globals.h')
-rw-r--r--src/globals.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/globals.h b/src/globals.h
index 21fabdbb51..99ecefbdde 100644
--- a/src/globals.h
+++ b/src/globals.h
@@ -1206,6 +1206,10 @@ EXTERN typebuf_T typebuf // typeahead buffer
= {NULL, NULL, 0, 0, 0, 0, 0, 0, 0}
#endif
;
+// Flag used to indicate that vgetorpeek() returned a char like Esc when the
+// :normal argument was exhausted.
+EXTERN int typebuf_was_empty INIT(= FALSE);
+
EXTERN int ex_normal_busy INIT(= 0); // recursiveness of ex_normal()
#ifdef FEAT_EVAL
EXTERN int in_feedkeys INIT(= 0); // ex_normal_busy set in feedkeys()