mirror of
https://github.com/vim/vim
synced 2025-07-16 01:01:58 +00:00
patch 9.0.1359: too many "else if" statements in handling options
Problem: Too many "else if" statements in handling options. Solution: Add more functions for handling option changes. (Yegappan Lakshmanan, closes #12060)
This commit is contained in:
committed by
Bram Moolenaar
parent
30a8447715
commit
5da901bb68
@ -130,6 +130,7 @@ let test_values = {
|
||||
\ 'printoptions': [['', 'header:0', 'left:10pc,top:5pc'], ['xxx']],
|
||||
\ 'scrollopt': [['', 'ver', 'ver,hor'], ['xxx']],
|
||||
\ 'renderoptions': [[''], ['xxx']],
|
||||
\ 'rightleftcmd': [['search'], ['xxx']],
|
||||
\ 'selection': [['old', 'inclusive'], ['', 'xxx']],
|
||||
\ 'selectmode': [['', 'mouse', 'key,cmd'], ['xxx']],
|
||||
\ 'sessionoptions': [['', 'blank', 'help,options,slash'], ['xxx']],
|
||||
@ -140,6 +141,7 @@ let test_values = {
|
||||
\ 'spelloptions': [['', 'camel'], ['xxx']],
|
||||
\ 'spellsuggest': [['', 'best', 'double,33'], ['xxx']],
|
||||
\ 'splitkeep': [['cursor', 'screen', 'topline'], ['xxx']],
|
||||
\ 'swapsync': [['', 'sync', 'fsync'], ['xxx']],
|
||||
\ 'switchbuf': [['', 'useopen', 'split,newtab'], ['xxx']],
|
||||
\ 'tagcase': [['smart', 'match'], ['', 'xxx', 'smart,match']],
|
||||
\ 'term': [[], []],
|
||||
|
Reference in New Issue
Block a user