Mercurial > vim
diff src/testdir/gen_opt_test.vim @ 32055:8a3f659c7b5e v9.0.1359
patch 9.0.1359: too many "else if" statements in handling options
Commit: https://github.com/vim/vim/commit/5da901bb68717b2baff6e971c1517219b6ee3a67
Author: Yegappan Lakshmanan <yegappan@yahoo.com>
Date: Mon Feb 27 12:47:47 2023 +0000
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)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 27 Feb 2023 14:00:03 +0100 |
parents | 6095218c9056 |
children | 1f3bcb7f3bd0 |
line wrap: on
line diff
--- a/src/testdir/gen_opt_test.vim +++ b/src/testdir/gen_opt_test.vim @@ -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': [[], []],