@@ -13,7 +13,6 @@ let script = [
1313 \ ' let save_term = &term' ,
1414 \ ]
1515
16- edit
1716/#define p_term
1817let end = line (' .' )
1918
@@ -30,6 +29,7 @@ let test_values = {
3029 \ ' iminsert' : [[0 , 1 ], [-1 , 3 , 999 ]],
3130 \ ' imsearch' : [[-1 , 0 , 1 ], [-2 , 3 , 999 ]],
3231 \ ' lines' : [[2 , 24 ], [-1 , 0 , 1 ]],
32+ \ ' linespace' : [[0 , 2 , 4 ], [' ' ]],
3333 \ ' numberwidth' : [[1 , 4 , 8 , 10 ], [-1 , 0 , 11 ]],
3434 \ ' regexpengine' : [[0 , 1 , 2 ], [-1 , 3 , 999 ]],
3535 \ ' report' : [[0 , 1 , 2 , 9999 ], [-1 ]],
@@ -59,7 +59,7 @@ let test_values = {
5959 \ ' backupext' : [[' xxx' ], [' ' ]],
6060 \ ' belloff' : [[' ' , ' all' , ' copy,error' ], [' xxx' ]],
6161 \ ' breakindentopt' : [[' ' , ' min:3' , ' sbr' ], [' xxx' , ' min' , ' min:x' ]],
62- \ ' browsedir' : [[' ' , ' last' , ' /tmp/ ' ], [' xxx' ]],
62+ \ ' browsedir' : [[' ' , ' last' , ' /' ], [' xxx' ]],
6363 \ ' bufhidden' : [[' ' , ' hide' , ' wipe' ], [' xxx' , ' hide,wipe' ]],
6464 \ ' buftype' : [[' ' , ' help' , ' nofile' ], [' xxx' , ' help,nofile' ]],
6565 \ ' casemap' : [[' ' , ' internal' ], [' xxx' ]],
@@ -89,6 +89,8 @@ let test_values = {
8989 \ ' foldmarker' : [[' ((,))' ], [' ' , ' xxx' ]],
9090 \ ' formatoptions' : [[' ' , ' vt' , ' v,t' ], [' xxx' ]],
9191 \ ' guicursor' : [[' ' , ' n:block-Cursor' ], [' xxx' ]],
92+ \ ' guifont' : [[' ' , ' fixedsys' ], []],
93+ \ ' guifontwide' : [[' ' , ' fixedsys' ], []],
9294 \ ' helplang' : [[' ' , ' de' , ' de,it' ], [' xxx' ]],
9395 \ ' highlight' : [[' ' , ' e:Error' ], [' xxx' ]],
9496 \ ' isfname' : [[' ' , ' @' , ' @,48-52' ], [' xxx' , ' @48' ]],
@@ -108,6 +110,7 @@ let test_values = {
108110 \ ' printmbfont' : [[' ' , ' r:some' , ' b:Bold,c:yes' ], [' xxx' ]],
109111 \ ' printoptions' : [[' ' , ' header:0' , ' left:10pc,top:5pc' ], [' xxx' ]],
110112 \ ' scrollopt' : [[' ' , ' ver' , ' ver,hor' ], [' xxx' ]],
113+ \ ' renderoptions' : [[' ' , ' type:directx' ], [' xxx' ]],
111114 \ ' selection' : [[' old' , ' inclusive' ], [' ' , ' xxx' ]],
112115 \ ' selectmode' : [[' ' , ' mouse' , ' key,cmd' ], [' xxx' ]],
113116 \ ' sessionoptions' : [[' ' , ' blank' , ' help,options,slash' ], [' xxx' ]],
@@ -116,11 +119,11 @@ let test_values = {
116119 \ ' spellsuggest' : [[' ' , ' best' , ' double,33' ], [' xxx' ]],
117120 \ ' switchbuf' : [[' ' , ' useopen' , ' split,newtab' ], [' xxx' ]],
118121 \ ' tagcase' : [[' smart' , ' match' ], [' ' , ' xxx' , ' smart,match' ]],
119- \ ' term' : [[' ansi ' ], [' ' , ' gui ' ]],
122+ \ ' term' : [[], []],
120123 \ ' toolbar' : [[' ' , ' icons' , ' text' ], [' xxx' ]],
121124 \ ' toolbariconsize' : [[' ' , ' tiny' , ' huge' ], [' xxx' ]],
122125 \ ' ttymouse' : [[' ' , ' xterm' ], [' xxx' ]],
123- \ ' ttytype' : [[' ansi ' ], [' ' , ' gui ' ]],
126+ \ ' ttytype' : [[], []],
124127 \ ' viewoptions' : [[' ' , ' cursor' , ' unix,slash' ], [' xxx' ]],
125128 \ ' viminfo' : [[' ' , ' ' ' 50' , ' "30' ], [' xxx' ]],
126129 \ ' virtualedit' : [[' ' , ' all' , ' all,block' ], [' xxx' ]],
@@ -189,6 +192,8 @@ while 1
189192
190193 if name == ' more'
191194 call add (script , ' set nomore' )
195+ elseif name == ' lines'
196+ call add (script , ' let &lines = save_lines' )
192197 endif
193198 endif
194199endwhile
0 commit comments