0
0
mirror of https://github.com/vim/vim.git synced 2025-09-26 04:04:07 -04:00

patch 9.0.1353: too many "else if" statements to handle option values

Problem:    Too many "else if" statements to handle option values.
Solution:   Add more functions to handle option value changes. (Yegappan
            Lakshmanan, closes #12058)
This commit is contained in:
Yegappan Lakshmanan
2023-02-25 11:59:33 +00:00
committed by Bram Moolenaar
parent a63fd82328
commit 6d611de58c
8 changed files with 215 additions and 115 deletions

View File

@@ -4819,4 +4819,9 @@ typedef struct
// When set by the called function: Stop processing the option further.
// Currently only used for boolean options.
int os_doskip;
// If the value specified for an option is not valid and the error message
// is parameterized, then the "os_errbuf" buffer is used to store the error
// message (when it is not NULL).
char *os_errbuf;
} optset_T;