forked from aniani/vim
patch 9.0.0234: cannot make difference between :normal end and argument char
Problem: Cannot make difference between the end of :normal and a character in its argument. Solution: Add the "typebuf_was_empty" flag. (closes #10950)
This commit is contained in:
@@ -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()
|
||||
|
Reference in New Issue
Block a user