From cd7496382efc9e6748326c6cda7f01003fa07063 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Tue, 14 Jun 2022 13:30:35 +0100 Subject: patch 8.2.5088: value of cmod_verbose is a bit complicated to use Problem: Value of cmod_verbose is a bit complicated to use. Solution: Use zero for not set, value + 1 when set. (closes #10564) --- src/structs.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/structs.h') 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' -- cgit v1.2.1