fix(options): fix some 'belloff' flags not working properly (#30856)

Problem:  Some 'belloff' flags don't work properly.
Solution: Keep BO_ flags and p_bo_values[] in sync.
This commit is contained in:
zeertzjq
2024-10-18 22:39:27 +08:00
committed by GitHub
parent b5e69b32d7
commit 395f420fc6
2 changed files with 81 additions and 2 deletions

View File

@@ -72,8 +72,8 @@ static char *(p_ambw_values[]) = { "single", "double", NULL };
static char *(p_bg_values[]) = { "light", "dark", NULL };
static char *(p_bkc_values[]) = { "yes", "auto", "no", "breaksymlink", "breakhardlink", NULL };
static char *(p_bo_values[]) = { "all", "backspace", "cursor", "complete", "copy", "ctrlg", "error",
"esc", "ex", "hangul", "lang", "mess", "showmatch", "operator",
"register", "shell", "spell", "wildmode", NULL };
"esc", "ex", "hangul", "insertmode", "lang", "mess", "showmatch",
"operator", "register", "shell", "spell", "wildmode", NULL };
// Note: Keep this in sync with briopt_check()
static char *(p_briopt_values[]) = { "shift:", "min:", "sbr", "list:", "column:", NULL };
// Note: Keep this in sync with diffopt_changed()