1
0
forked from aniani/vim

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

@@ -299,7 +299,8 @@ typedef enum {
#define GO_FOOTER 'F' // add footer
#define GO_VERTICAL 'v' // arrange dialog buttons vertically
#define GO_KEEPWINSIZE 'k' // keep GUI window size
#define GO_ALL "!aAbcdefFghilmMprtTvk" // all possible flags for 'go'
// all possible flags for 'go'
#define GO_ALL "!aAbcdefFghilLmMpPrRtTvk"
// flags for 'comments' option
#define COM_NEST 'n' // comments strings nest