Mercurial > vim
annotate src/testdir/gen_opt_test.vim @ 31192:dcde141f2d1e v9.0.0930
patch 9.0.0930: cannot debug the Kitty keyboard protocol with TermDebug
Commit: https://github.com/vim/vim/commit/63a2e360cca2c70ab0a85d14771d3259d4b3aafa
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Nov 23 20:20:18 2022 +0000
patch 9.0.0930: cannot debug the Kitty keyboard protocol with TermDebug
Problem: Cannot debug the Kitty keyboard protocol with TermDebug.
Solution: Add Kitty keyboard protocol support to the libvterm fork.
Recognize the escape sequences that the protocol generates. Add
the 'keyprotocol' option to allow the user to specify for which
terminal what protocol is to be used, instead of hard-coding this.
Add recognizing the kitty keyboard protocol status.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 23 Nov 2022 21:30:04 +0100 |
parents | e4240d068787 |
children | bb797331e21b |
rev | line source |
---|---|
11079
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
1 " Script to generate testdir/opt_test.vim from option.c |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
2 |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
3 set cpo=&vim |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
4 |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
5 " Only do this when build with the +eval feature. |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
6 if 1 |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
7 |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
8 set nomore |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
9 |
11097
d32c9d8fa01a
patch 8.0.0436: running the options test sometimes resizes the terminal
Christian Brabandt <cb@256bit.org>
parents:
11083
diff
changeset
|
10 " The terminal size is restored at the end. |
d32c9d8fa01a
patch 8.0.0436: running the options test sometimes resizes the terminal
Christian Brabandt <cb@256bit.org>
parents:
11083
diff
changeset
|
11 " Clear out t_WS, we don't want to resize the actual terminal. |
11079
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
12 let script = [ |
18973
bf8eb950df61
patch 8.2.0047: cannot skip tests for specific MS-Windows platform
Bram Moolenaar <Bram@vim.org>
parents:
18068
diff
changeset
|
13 \ '" DO NOT EDIT: Generated with gen_opt_test.vim', |
27875
ae38d2e81fca
patch 8.2.4463: completion only uses strict matching
Bram Moolenaar <Bram@vim.org>
parents:
22756
diff
changeset
|
14 \ '" Used by test_options.vim.', |
18973
bf8eb950df61
patch 8.2.0047: cannot skip tests for specific MS-Windows platform
Bram Moolenaar <Bram@vim.org>
parents:
18068
diff
changeset
|
15 \ '', |
11079
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
16 \ 'let save_columns = &columns', |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
17 \ 'let save_lines = &lines', |
11097
d32c9d8fa01a
patch 8.0.0436: running the options test sometimes resizes the terminal
Christian Brabandt <cb@256bit.org>
parents:
11083
diff
changeset
|
18 \ 'set t_WS=', |
11079
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
19 \ ] |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
20 |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
21 /#define p_term |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
22 let end = line('.') |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
23 |
12946
eae40b455a72
patch 8.0.1349: options test fails when using Motif or GTK GUI
Christian Brabandt <cb@256bit.org>
parents:
12293
diff
changeset
|
24 " font name that works everywhere (hopefully) |
eae40b455a72
patch 8.0.1349: options test fails when using Motif or GTK GUI
Christian Brabandt <cb@256bit.org>
parents:
12293
diff
changeset
|
25 let fontname = has('win32') ? 'fixedsys' : 'fixed' |
eae40b455a72
patch 8.0.1349: options test fails when using Motif or GTK GUI
Christian Brabandt <cb@256bit.org>
parents:
12293
diff
changeset
|
26 |
11079
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
27 " Two lists with values: values that work and values that fail. |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
28 " When not listed, "othernum" or "otherstring" is used. |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
29 let test_values = { |
30005
bb0e525e1393
patch 9.0.0340: the 'cmdheight' zero support causes too much trouble
Bram Moolenaar <Bram@vim.org>
parents:
29546
diff
changeset
|
30 \ 'cmdheight': [[1, 2, 10], [-1, 0]], |
11079
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
31 \ 'cmdwinheight': [[1, 2, 10], [-1, 0]], |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
32 \ 'columns': [[12, 80], [-1, 0, 10]], |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
33 \ 'conceallevel': [[0, 1, 2, 3], [-1, 4, 99]], |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
34 \ 'foldcolumn': [[0, 1, 4, 12], [-1, 13, 999]], |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
35 \ 'helpheight': [[0, 10, 100], [-1]], |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
36 \ 'history': [[0, 1, 100], [-1, 10001]], |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
37 \ 'iminsert': [[0, 1], [-1, 3, 999]], |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
38 \ 'imsearch': [[-1, 0, 1], [-2, 3, 999]], |
12293
1ff5e5dfa9b0
patch 8.0.1026: GTK on-the-spot input has problems
Christian Brabandt <cb@256bit.org>
parents:
11721
diff
changeset
|
39 \ 'imstyle': [[0, 1], [-1, 2, 999]], |
11079
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
40 \ 'lines': [[2, 24], [-1, 0, 1]], |
11083
ae86651164d7
patch 8.0.0430: options test fails or hangs on MS-Windows
Christian Brabandt <cb@256bit.org>
parents:
11081
diff
changeset
|
41 \ 'linespace': [[0, 2, 4], ['']], |
17229
f1c7b7a4d9e4
patch 8.1.1614: 'numberwidth' can only go up to 10
Bram Moolenaar <Bram@vim.org>
parents:
16551
diff
changeset
|
42 \ 'numberwidth': [[1, 4, 8, 10, 11, 20], [-1, 0, 21]], |
11079
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
43 \ 'regexpengine': [[0, 1, 2], [-1, 3, 999]], |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
44 \ 'report': [[0, 1, 2, 9999], [-1]], |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
45 \ 'scroll': [[0, 1, 2, 20], [-1]], |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
46 \ 'scrolljump': [[-50, -1, 0, 1, 2, 20], [999]], |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
47 \ 'scrolloff': [[0, 1, 2, 20], [-1]], |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
48 \ 'shiftwidth': [[0, 1, 8, 999], [-1]], |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
49 \ 'sidescroll': [[0, 1, 8, 999], [-1]], |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
50 \ 'sidescrolloff': [[0, 1, 8, 999], [-1]], |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
51 \ 'tabstop': [[1, 4, 8, 12], [-1, 0]], |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
52 \ 'textwidth': [[0, 1, 8, 99], [-1]], |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
53 \ 'timeoutlen': [[0, 8, 99999], [-1]], |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
54 \ 'titlelen': [[0, 1, 8, 9999], [-1]], |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
55 \ 'updatecount': [[0, 1, 8, 9999], [-1]], |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
56 \ 'updatetime': [[0, 1, 8, 9999], [-1]], |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
57 \ 'verbose': [[-1, 0, 1, 8, 9999], []], |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
58 \ 'wildcharm': [[-1, 0, 100], []], |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
59 \ 'winheight': [[1, 10, 999], [-1, 0]], |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
60 \ 'winminheight': [[0, 1], [-1]], |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
61 \ 'winminwidth': [[0, 1, 10], [-1]], |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
62 \ 'winwidth': [[1, 10, 999], [-1, 0]], |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
63 \ |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
64 \ 'ambiwidth': [['', 'single'], ['xxx']], |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
65 \ 'background': [['', 'light', 'dark'], ['xxx']], |
20069
9a67d41708d2
patch 8.2.0590: no 'backspace' value allows ignoring the insertion point
Bram Moolenaar <Bram@vim.org>
parents:
19738
diff
changeset
|
66 \ 'backspace': [[0, 2, 3, '', 'eol', 'eol,start', 'indent,eol,nostop'], ['4', 'xxx']], |
11079
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
67 \ 'backupcopy': [['yes', 'auto'], ['', 'xxx', 'yes,no']], |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
68 \ 'backupext': [['xxx'], ['']], |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
69 \ 'belloff': [['', 'all', 'copy,error'], ['xxx']], |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
70 \ 'breakindentopt': [['', 'min:3', 'sbr'], ['xxx', 'min', 'min:x']], |
11083
ae86651164d7
patch 8.0.0430: options test fails or hangs on MS-Windows
Christian Brabandt <cb@256bit.org>
parents:
11081
diff
changeset
|
71 \ 'browsedir': [['', 'last', '/'], ['xxx']], |
11079
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
72 \ 'bufhidden': [['', 'hide', 'wipe'], ['xxx', 'hide,wipe']], |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
73 \ 'buftype': [['', 'help', 'nofile'], ['xxx', 'help,nofile']], |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
74 \ 'casemap': [['', 'internal'], ['xxx']], |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
75 \ 'cedit': [['', '\<Esc>'], ['xxx', 'f']], |
22375
595ea7f099cd
patch 8.2.1736: failure to compile a pattern not tested much
Bram Moolenaar <Bram@vim.org>
parents:
20802
diff
changeset
|
76 \ 'clipboard': [['', 'unnamed', 'autoselect,unnamed', 'html', 'exclude:vimdisplay'], ['xxx', '\ze*', 'exclude:\\%(']], |
11079
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
77 \ 'colorcolumn': [['', '8', '+2'], ['xxx']], |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
78 \ 'comments': [['', 'b:#'], ['xxx']], |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
79 \ 'commentstring': [['', '/*%s*/'], ['xxx']], |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
80 \ 'complete': [['', 'w,b'], ['xxx']], |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
81 \ 'concealcursor': [['', 'n', 'nvic'], ['xxx']], |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
82 \ 'completeopt': [['', 'menu', 'menu,longest'], ['xxx', 'menu,,,longest,']], |
17811
b5499bf22a97
patch 8.1.1902: cannot have an info popup without a border
Bram Moolenaar <Bram@vim.org>
parents:
17773
diff
changeset
|
83 \ 'completepopup': [['', 'height:13', 'highlight:That', 'width:10,height:234,highlight:Mine'], ['height:yes', 'width:no', 'xxx', 'xxx:99', 'border:maybe', 'border:1']], |
17547
1b8463f97365
patch 8.1.1771: options test fails on MS-Windows
Bram Moolenaar <Bram@vim.org>
parents:
17431
diff
changeset
|
84 \ 'completeslash': [['', 'slash', 'backslash'], ['xxx']], |
11079
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
85 \ 'cryptmethod': [['', 'zip'], ['xxx']], |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
86 \ 'cscopequickfix': [['', 's-', 's-,c+,e0'], ['xxx', 's,g,d']], |
18068
1101eacc1444
patch 8.1.2029: cannot control 'cursorline' highlighting well
Bram Moolenaar <Bram@vim.org>
parents:
18047
diff
changeset
|
87 \ 'cursorlineopt': [['both', 'line', 'number', 'screenline', 'line,number'], ['', 'xxx', 'line,screenline']], |
11079
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
88 \ 'debug': [['', 'msg', 'msg', 'beep'], ['xxx']], |
15004
9c2352253376
patch 8.1.0513: no error for set diffopt+=algorithm:
Bram Moolenaar <Bram@vim.org>
parents:
14175
diff
changeset
|
89 \ 'diffopt': [['', 'filler', 'icase,iwhite'], ['xxx', 'algorithm:xxx', 'algorithm:']], |
11079
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
90 \ 'display': [['', 'lastline', 'lastline,uhex'], ['xxx']], |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
91 \ 'eadirection': [['', 'both', 'ver'], ['xxx', 'ver,hor']], |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
92 \ 'encoding': [['latin1'], ['xxx', '']], |
29054
e7bd4c788053
patch 8.2.5049: insufficient tests for autocommands
Bram Moolenaar <Bram@vim.org>
parents:
27936
diff
changeset
|
93 \ 'eventignore': [['', 'WinEnter', 'WinLeave,winenter', 'all,WinEnter'], ['xxx']], |
11079
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
94 \ 'fileencoding': [['', 'latin1', 'xxx'], []], |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
95 \ 'fileformat': [['', 'dos', 'unix'], ['xxx']], |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
96 \ 'fileformats': [['', 'dos', 'dos,unix'], ['xxx']], |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
97 \ 'fillchars': [['', 'vert:x'], ['xxx']], |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
98 \ 'foldclose': [['', 'all'], ['xxx']], |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
99 \ 'foldmethod': [['manual', 'indent'], ['', 'xxx', 'expr,diff']], |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
100 \ 'foldopen': [['', 'all', 'hor,jump'], ['xxx']], |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
101 \ 'foldmarker': [['((,))'], ['', 'xxx']], |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
102 \ 'formatoptions': [['', 'vt', 'v,t'], ['xxx']], |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
103 \ 'guicursor': [['', 'n:block-Cursor'], ['xxx']], |
12946
eae40b455a72
patch 8.0.1349: options test fails when using Motif or GTK GUI
Christian Brabandt <cb@256bit.org>
parents:
12293
diff
changeset
|
104 \ 'guifont': [['', fontname], []], |
eae40b455a72
patch 8.0.1349: options test fails when using Motif or GTK GUI
Christian Brabandt <cb@256bit.org>
parents:
12293
diff
changeset
|
105 \ 'guifontwide': [['', fontname], []], |
eae40b455a72
patch 8.0.1349: options test fails when using Motif or GTK GUI
Christian Brabandt <cb@256bit.org>
parents:
12293
diff
changeset
|
106 \ 'guifontset': [['', fontname], []], |
11079
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
107 \ 'helplang': [['', 'de', 'de,it'], ['xxx']], |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
108 \ 'highlight': [['', 'e:Error'], ['xxx']], |
11401
fc1939947789
patch 8.0.0585: test_options fails when run in the GUI
Christian Brabandt <cb@256bit.org>
parents:
11203
diff
changeset
|
109 \ 'imactivatekey': [['', 'S-space'], ['xxx']], |
11079
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
110 \ 'isfname': [['', '@', '@,48-52'], ['xxx', '@48']], |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
111 \ 'isident': [['', '@', '@,48-52'], ['xxx', '@48']], |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
112 \ 'iskeyword': [['', '@', '@,48-52'], ['xxx', '@48']], |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
113 \ 'isprint': [['', '@', '@,48-52'], ['xxx', '@48']], |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
114 \ 'keymap': [['', 'accents'], ['xxx']], |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
115 \ 'keymodel': [['', 'startsel', 'startsel,stopsel'], ['xxx']], |
31192
dcde141f2d1e
patch 9.0.0930: cannot debug the Kitty keyboard protocol with TermDebug
Bram Moolenaar <Bram@vim.org>
parents:
30859
diff
changeset
|
116 \ 'keyprotocol': [['', 'xxx:none', 'yyy:mok2', 'zzz:kitty'], |
dcde141f2d1e
patch 9.0.0930: cannot debug the Kitty keyboard protocol with TermDebug
Bram Moolenaar <Bram@vim.org>
parents:
30859
diff
changeset
|
117 \ [':none', 'xxx:', 'x:non', 'y:mok3', 'z:kittty']], |
11079
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
118 \ 'langmap': [['', 'xX', 'aA,bB'], ['xxx']], |
30859
e4240d068787
patch 9.0.0764: indent and option tests fail
Bram Moolenaar <Bram@vim.org>
parents:
30624
diff
changeset
|
119 \ 'lispoptions': [['', 'expr:0', 'expr:1'], ['xxx']], |
11079
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
120 \ 'listchars': [['', 'eol:x', 'eol:x,space:y'], ['xxx']], |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
121 \ 'matchpairs': [['', '(:)', '(:),<:>'], ['xxx']], |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
122 \ 'mkspellmem': [['10000,100,12'], ['', 'xxx']], |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
123 \ 'mouse': [['', 'a', 'nvi'], ['xxx', 'n,v,i']], |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
124 \ 'mousemodel': [['', 'popup'], ['xxx']], |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
125 \ 'mouseshape': [['', 'n:arrow'], ['xxx']], |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
126 \ 'nrformats': [['', 'alpha', 'alpha,hex,bin'], ['xxx']], |
17431
ce35cdbe9f74
patch 8.1.1714: cannot preview a file in a popup window
Bram Moolenaar <Bram@vim.org>
parents:
17229
diff
changeset
|
127 \ 'previewpopup': [['', 'height:13', 'width:10,height:234'], ['height:yes', 'xxx', 'xxx:99']], |
11079
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
128 \ 'printmbfont': [['', 'r:some', 'b:Bold,c:yes'], ['xxx']], |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
129 \ 'printoptions': [['', 'header:0', 'left:10pc,top:5pc'], ['xxx']], |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
130 \ 'scrollopt': [['', 'ver', 'ver,hor'], ['xxx']], |
18973
bf8eb950df61
patch 8.2.0047: cannot skip tests for specific MS-Windows platform
Bram Moolenaar <Bram@vim.org>
parents:
18068
diff
changeset
|
131 \ 'renderoptions': [[''], ['xxx']], |
11079
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
132 \ 'selection': [['old', 'inclusive'], ['', 'xxx']], |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
133 \ 'selectmode': [['', 'mouse', 'key,cmd'], ['xxx']], |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
134 \ 'sessionoptions': [['', 'blank', 'help,options,slash'], ['xxx']], |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
135 \ 'signcolumn': [['', 'auto', 'no'], ['xxx', 'no,yes']], |
22756
87accad5a407
patch 8.2.1926: cannot use a space in 'spellfile'
Bram Moolenaar <Bram@vim.org>
parents:
22742
diff
changeset
|
136 \ 'spellfile': [['', 'file.en.add', '/tmp/dir\ with\ space/en.utf-8.add'], ['xxx', '/tmp/file']], |
16551
367a775ed430
patch 8.1.1279: cannot set 'spellang' to "sr@latin"
Bram Moolenaar <Bram@vim.org>
parents:
15746
diff
changeset
|
137 \ 'spelllang': [['', 'xxx', 'sr@latin'], ['not&lang', "that\\\rthere"]], |
20802
ed00f0fbdaef
patch 8.2.0953: spell checking doesn't work for CamelCased words
Bram Moolenaar <Bram@vim.org>
parents:
20069
diff
changeset
|
138 \ 'spelloptions': [['', 'camel'], ['xxx']], |
11079
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
139 \ 'spellsuggest': [['', 'best', 'double,33'], ['xxx']], |
30624
f2f35161d75a
patch 9.0.0647: the 'splitscroll' option is not a good name
Bram Moolenaar <Bram@vim.org>
parents:
30005
diff
changeset
|
140 \ 'splitkeep': [['cursor', 'screen', 'topline'], ['xxx']], |
11079
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
141 \ 'switchbuf': [['', 'useopen', 'split,newtab'], ['xxx']], |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
142 \ 'tagcase': [['smart', 'match'], ['', 'xxx', 'smart,match']], |
11083
ae86651164d7
patch 8.0.0430: options test fails or hangs on MS-Windows
Christian Brabandt <cb@256bit.org>
parents:
11081
diff
changeset
|
143 \ 'term': [[], []], |
13314
65c3e8259124
patch 8.0.1531: cannot use 24 bit colors in MS-Windows console
Christian Brabandt <cb@256bit.org>
parents:
12946
diff
changeset
|
144 \ 'termguicolors': [[], []], |
13742
a34b1323286c
patch 8.0.1743: terminal window options are named inconsistently
Christian Brabandt <cb@256bit.org>
parents:
13314
diff
changeset
|
145 \ 'termencoding': [has('gui_gtk') ? [] : ['', 'utf-8'], ['xxx']], |
a34b1323286c
patch 8.0.1743: terminal window options are named inconsistently
Christian Brabandt <cb@256bit.org>
parents:
13314
diff
changeset
|
146 \ 'termwinsize': [['', '24x80', '0x80', '32x0', '0x0'], ['xxx', '80', '8ax9', '24x80b']], |
15746
c017195b121b
patch 8.1.0880: MS-Windows: inconsistent selection of winpty/conpty
Bram Moolenaar <Bram@vim.org>
parents:
15725
diff
changeset
|
147 \ 'termwintype': [['', 'winpty', 'conpty'], ['xxx']], |
11079
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
148 \ 'toolbar': [['', 'icons', 'text'], ['xxx']], |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
149 \ 'toolbariconsize': [['', 'tiny', 'huge'], ['xxx']], |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
150 \ 'ttymouse': [['', 'xterm'], ['xxx']], |
11083
ae86651164d7
patch 8.0.0430: options test fails or hangs on MS-Windows
Christian Brabandt <cb@256bit.org>
parents:
11081
diff
changeset
|
151 \ 'ttytype': [[], []], |
14175
2ad722003b36
patch 8.1.0105: all tab stops are the same
Christian Brabandt <cb@256bit.org>
parents:
13845
diff
changeset
|
152 \ 'varsofttabstop': [['8', '4,8,16,32'], ['xxx', '-1', '4,-1,20']], |
2ad722003b36
patch 8.1.0105: all tab stops are the same
Christian Brabandt <cb@256bit.org>
parents:
13845
diff
changeset
|
153 \ 'vartabstop': [['8', '4,8,16,32'], ['xxx', '-1', '4,-1,20']], |
11079
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
154 \ 'viewoptions': [['', 'cursor', 'unix,slash'], ['xxx']], |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
155 \ 'viminfo': [['', '''50', '"30'], ['xxx']], |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
156 \ 'virtualedit': [['', 'all', 'all,block'], ['xxx']], |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
157 \ 'whichwrap': [['', 'b,s', 'bs'], ['xxx']], |
19581
848dc460adf0
patch 8.2.0347: various code not covered by tests
Bram Moolenaar <Bram@vim.org>
parents:
18973
diff
changeset
|
158 \ 'wildmode': [['', 'full', 'list:full', 'full,longest'], ['xxx', 'a4', 'full,full,full,full,full']], |
27875
ae38d2e81fca
patch 8.2.4463: completion only uses strict matching
Bram Moolenaar <Bram@vim.org>
parents:
22756
diff
changeset
|
159 \ 'wildoptions': [['', 'tagfile', 'pum', 'fuzzy'], ['xxx']], |
11079
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
160 \ 'winaltkeys': [['menu', 'no'], ['', 'xxx']], |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
161 \ |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
162 \ 'luadll': [[], []], |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
163 \ 'perldll': [[], []], |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
164 \ 'pythondll': [[], []], |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
165 \ 'pythonthreedll': [[], []], |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
166 \ 'pyxversion': [[], []], |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
167 \ 'rubydll': [[], []], |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
168 \ 'tcldll': [[], []], |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
169 \ |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
170 \ 'othernum': [[-1, 0, 100], ['']], |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
171 \ 'otherstring': [['', 'xxx'], []], |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
172 \} |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
173 |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
174 1 |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
175 /struct vimoption options |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
176 while 1 |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
177 /{" |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
178 if line('.') > end |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
179 break |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
180 endif |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
181 let line = getline('.') |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
182 let name = substitute(line, '.*{"\([^"]*\)".*', '\1', '') |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
183 let shortname = substitute(line, '.*"\([^"]*\)".*', '\1', '') |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
184 |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
185 if has_key(test_values, name) |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
186 let a = test_values[name] |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
187 elseif line =~ 'P_NUM' |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
188 let a = test_values['othernum'] |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
189 else |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
190 let a = test_values['otherstring'] |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
191 endif |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
192 if len(a[0]) > 0 || len(a[1]) > 0 |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
193 if line =~ 'P_BOOL' |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
194 call add(script, 'set ' . name) |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
195 call add(script, 'set ' . shortname) |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
196 call add(script, 'set no' . name) |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
197 call add(script, 'set no' . shortname) |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
198 else |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
199 for val in a[0] |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
200 call add(script, 'set ' . name . '=' . val) |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
201 call add(script, 'set ' . shortname . '=' . val) |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
202 endfor |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
203 |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
204 " setting an option can only fail when it's implemented. |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
205 call add(script, "if exists('+" . name . "')") |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
206 for val in a[1] |
22742
f7f2d73ff85e
patch 8.2.1919: assert_fails() setting emsg_silent changes normal execution
Bram Moolenaar <Bram@vim.org>
parents:
22375
diff
changeset
|
207 call add(script, "silent! call assert_fails('set " . name . "=" . val . "')") |
f7f2d73ff85e
patch 8.2.1919: assert_fails() setting emsg_silent changes normal execution
Bram Moolenaar <Bram@vim.org>
parents:
22375
diff
changeset
|
208 call add(script, "silent! call assert_fails('set " . shortname . "=" . val . "')") |
11079
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
209 endfor |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
210 call add(script, "endif") |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
211 endif |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
212 |
12946
eae40b455a72
patch 8.0.1349: options test fails when using Motif or GTK GUI
Christian Brabandt <cb@256bit.org>
parents:
12293
diff
changeset
|
213 " cannot change 'termencoding' in GTK |
eae40b455a72
patch 8.0.1349: options test fails when using Motif or GTK GUI
Christian Brabandt <cb@256bit.org>
parents:
12293
diff
changeset
|
214 if name != 'termencoding' || !has('gui_gtk') |
eae40b455a72
patch 8.0.1349: options test fails when using Motif or GTK GUI
Christian Brabandt <cb@256bit.org>
parents:
12293
diff
changeset
|
215 call add(script, 'set ' . name . '&') |
eae40b455a72
patch 8.0.1349: options test fails when using Motif or GTK GUI
Christian Brabandt <cb@256bit.org>
parents:
12293
diff
changeset
|
216 call add(script, 'set ' . shortname . '&') |
eae40b455a72
patch 8.0.1349: options test fails when using Motif or GTK GUI
Christian Brabandt <cb@256bit.org>
parents:
12293
diff
changeset
|
217 endif |
11203
c3504890b37d
patch 8.0.0488: running tests leaves an "xxx" file behind
Christian Brabandt <cb@256bit.org>
parents:
11097
diff
changeset
|
218 if name == 'verbosefile' |
c3504890b37d
patch 8.0.0488: running tests leaves an "xxx" file behind
Christian Brabandt <cb@256bit.org>
parents:
11097
diff
changeset
|
219 call add(script, 'call delete("xxx")') |
c3504890b37d
patch 8.0.0488: running tests leaves an "xxx" file behind
Christian Brabandt <cb@256bit.org>
parents:
11097
diff
changeset
|
220 endif |
11079
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
221 |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
222 if name == 'more' |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
223 call add(script, 'set nomore') |
11083
ae86651164d7
patch 8.0.0430: options test fails or hangs on MS-Windows
Christian Brabandt <cb@256bit.org>
parents:
11081
diff
changeset
|
224 elseif name == 'lines' |
ae86651164d7
patch 8.0.0430: options test fails or hangs on MS-Windows
Christian Brabandt <cb@256bit.org>
parents:
11081
diff
changeset
|
225 call add(script, 'let &lines = save_lines') |
11079
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
226 endif |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
227 endif |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
228 endwhile |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
229 |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
230 call add(script, 'let &columns = save_columns') |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
231 call add(script, 'let &lines = save_lines') |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
232 |
11081
bbdb4f0134cb
patch 8.0.0429: options test does not always test everything
Christian Brabandt <cb@256bit.org>
parents:
11079
diff
changeset
|
233 call writefile(script, 'opt_test.vim') |
11079
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
234 |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
235 endif |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
236 |
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
237 qa! |