diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-06-14 13:30:35 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-06-14 13:30:35 +0100 |
commit | cd7496382efc9e6748326c6cda7f01003fa07063 (patch) | |
tree | cfb5592b4cb28fb3d302842bb71b6c141ba28f5b /src/structs.h | |
parent | 1630bd980a1f7f62adc6f73cb20be66a3c382225 (diff) | |
download | vim-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.h | 4 |
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' |