summaryrefslogtreecommitdiffstats
path: root/src/globals.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2005-08-19 20:40:30 +0000
committerBram Moolenaar <Bram@vim.org>2005-08-19 20:40:30 +0000
commit8aff23a13e69dd6290e9a6f2c3aeb4b486f28279 (patch)
tree361a4567d1f0459e4efbe2b5d05db96991679251 /src/globals.h
parent5195e45609b26b3d262a90822a2283a4adcf65c9 (diff)
updated for version 7.0132v7.0132
Diffstat (limited to 'src/globals.h')
-rw-r--r--src/globals.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/globals.h b/src/globals.h
index 60eff1f3c6..6bfc13dc7c 100644
--- a/src/globals.h
+++ b/src/globals.h
@@ -1057,6 +1057,14 @@ EXTERN int cmdwin_result INIT(= 0); /* result of cmdline window or 0 */
EXTERN char_u no_lines_msg[] INIT(= N_("--No lines in buffer--"));
+/*
+ * When ":global" is used to number of substitutions and changed lines is
+ * accumulated until it's finished.
+ * Also used for ":spellrepall".
+ */
+EXTERN long sub_nsubs; /* total number of substitutions */
+EXTERN linenr_T sub_nlines; /* total number of lines changed */
+
/* table to store parsed 'wildmode' */
EXTERN char_u wim_flags[4];