aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/globals.h
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-04-07 21:13:09 +0800
committerzeertzjq <zeertzjq@outlook.com>2022-04-07 21:42:07 +0800
commit2a574f7aaaf5cd0803faa9e4337bf3e21e8b8d2a (patch)
tree25196ecabe19a4d834e79a48ea54115c8d4579f1 /src/nvim/globals.h
parentdc9e436986bec15b027c2a8d78782f514c046a8b (diff)
downloadrneovim-2a574f7aaaf5cd0803faa9e4337bf3e21e8b8d2a.tar.gz
rneovim-2a574f7aaaf5cd0803faa9e4337bf3e21e8b8d2a.tar.bz2
rneovim-2a574f7aaaf5cd0803faa9e4337bf3e21e8b8d2a.zip
fix(input): fix clearing of reg_executing
vim-patch:8.2.4705
Diffstat (limited to 'src/nvim/globals.h')
-rw-r--r--src/nvim/globals.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nvim/globals.h b/src/nvim/globals.h
index ace7647b35..4aa49337cf 100644
--- a/src/nvim/globals.h
+++ b/src/nvim/globals.h
@@ -643,6 +643,8 @@ EXTERN bool ex_no_reprint INIT(=false); // No need to print after z or p.
EXTERN int reg_recording INIT(= 0); // register for recording or zero
EXTERN int reg_executing INIT(= 0); // register being executed or zero
+// Flag set when peeking a character and found the end of executed register
+EXTERN bool pending_end_reg_executing INIT(= false);
EXTERN int reg_recorded INIT(= 0); // last recorded register or zero
EXTERN int no_mapping INIT(= false); // currently no mapping allowed