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

@ -104,6 +104,7 @@ let test_values = {
\ 'guifont': [['', fontname], []],
\ 'guifontwide': [['', fontname], []],
\ 'guifontset': [['', fontname], []],
\ 'guioptions': [['', 'a'], ['Q']],
\ 'helplang': [['', 'de', 'de,it'], ['xxx']],
\ 'highlight': [['', 'e:Error'], ['xxx']],
\ 'imactivatekey': [['', 'S-space'], ['xxx']],