Skip to content

Commit 35cdbcc

Browse files
committed
Workaround: Omit 'fullscreen' option test
Doing 'set fullscreen' and 'set nofullscreen' at once doesn't work properly: the values of "&lines" and "&columns" are restored, but the fullscreen is kept on actually and thus affects 'writedelay' test performance.
1 parent c91441d commit 35cdbcc

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

src/testdir/gen_opt_test.vim

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -188,10 +188,12 @@ while 1
188188
endif
189189
if len(a[0]) > 0 || len(a[1]) > 0
190190
if line =~ 'P_BOOL'
191-
call add(script, 'set ' . name)
192-
call add(script, 'set ' . shortname)
193-
call add(script, 'set no' . name)
194-
call add(script, 'set no' . shortname)
191+
if name != 'fullscreen'
192+
call add(script, 'set ' . name)
193+
call add(script, 'set ' . shortname)
194+
call add(script, 'set no' . name)
195+
call add(script, 'set no' . shortname)
196+
endif
195197
else
196198
for val in a[0]
197199
call add(script, 'set ' . name . '=' . val)

0 commit comments

Comments
 (0)