summaryrefslogtreecommitdiff
path: root/src/structs.h
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-06-14 13:30:35 +0100
committerBram Moolenaar <Bram@vim.org>2022-06-14 13:30:35 +0100
commitcd7496382efc9e6748326c6cda7f01003fa07063 (patch)
treecfb5592b4cb28fb3d302842bb71b6c141ba28f5b /src/structs.h
parent1630bd980a1f7f62adc6f73cb20be66a3c382225 (diff)
downloadvim-git-cd7496382efc9e6748326c6cda7f01003fa07063.tar.gz
patch 8.2.5088: value of cmod_verbose is a bit complicated to usev8.2.5088
Problem: Value of cmod_verbose is a bit complicated to use. Solution: Use zero for not set, value + 1 when set. (closes #10564)
Diffstat (limited to 'src/structs.h')
-rw-r--r--src/structs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/structs.h b/src/structs.h
index 7fe97fdbb..9e4092814 100644
--- a/src/structs.h
+++ b/src/structs.h
@@ -662,8 +662,8 @@ typedef struct
regmatch_T cmod_filter_regmatch; // set by :filter /pat/
int cmod_filter_force; // set for :filter!
- int cmod_verbose; // non-zero to set 'verbose', -1 is
- // used for zero override
+ int cmod_verbose; // 0 if not set, > 0 to set 'verbose'
+ // to cmod_verbose - 1
// values for undo_cmdmod()
char_u *cmod_save_ei; // saved value of 'eventignore'