Mercurial > vim
annotate src/testdir/test_autocmd_option.ok @ 9689:75466263dfbd
Added tag v7.4.2120 for changeset 2ea935bdd1a191aebc1492e8899f01b511333db9
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 29 Jul 2016 22:45:07 +0200 |
parents | 0b4e65cf84fb |
children |
rev | line source |
---|---|
6935 | 1 dummy text |
2 | |
3 1: Setting number option | |
4 Expected: Name: <number>, Oldval: <0>, NewVal: <1>, Scope: <global> | |
5 Autocmd Option: <number>, OldVal: <0>, NewVal: <1>, Scope: <global> | |
6 | |
7 2: Setting local number option | |
8 Expected: Name: <number>, Oldval: <1>, NewVal: <0>, Scope: <local> | |
9 Autocmd Option: <number>, OldVal: <1>, NewVal: <0>, Scope: <local> | |
10 | |
11 3: Setting global number option | |
12 Expected: Name: <number>, Oldval: <1>, NewVal: <0>, Scope: <global> | |
13 Autocmd Option: <number>, OldVal: <1>, NewVal: <0>, Scope: <global> | |
14 | |
15 4: Setting local autoindent option | |
16 Expected: Name: <autoindent>, Oldval: <0>, NewVal: <1>, Scope: <local> | |
17 Autocmd Option: <autoindent>, OldVal: <0>, NewVal: <1>, Scope: <local> | |
18 | |
19 5: Setting global autoindent option | |
20 Expected: Name: <autoindent>, Oldval: <0>, NewVal: <1>, Scope: <global> | |
21 Autocmd Option: <autoindent>, OldVal: <0>, NewVal: <1>, Scope: <global> | |
22 | |
23 6: Setting global autoindent option | |
24 Expected: Name: <autoindent>, Oldval: <1>, NewVal: <0>, Scope: <global> | |
25 Autocmd Option: <autoindent>, OldVal: <1>, NewVal: <0>, Scope: <global> | |
26 | |
27 7: Setting several global list and number option | |
28 Expected: Name: <list>, Oldval: <0>, NewVal: <1>, Scope: <global> | |
29 Autocmd Option: <list>, OldVal: <0>, NewVal: <1>, Scope: <global> | |
30 | |
31 7: Setting several global list and number option | |
32 Expected: Name: <number>, Oldval: <0>, NewVal: <1>, Scope: <global> | |
33 Autocmd Option: <number>, OldVal: <0>, NewVal: <1>, Scope: <global> | |
34 | |
35 8: Setting global acd | |
36 Expected: Name: <autochdir>, Oldval: <0>, NewVal: <1>, Scope: <global> | |
37 Autocmd Option: <autochdir>, OldVal: <0>, NewVal: <1>, Scope: <local> | |
38 | |
39 9: Setting global autoread | |
40 Expected: Name: <autoread>, Oldval: <0>, NewVal: <1>, Scope: <global> | |
41 Autocmd Option: <autoread>, OldVal: <0>, NewVal: <1>, Scope: <global> | |
42 | |
43 10: Setting local autoread | |
44 Expected: Name: <autoread>, Oldval: <0>, NewVal: <1>, Scope: <local> | |
45 Autocmd Option: <autoread>, OldVal: <1>, NewVal: <1>, Scope: <local> | |
46 | |
47 11: Setting global autoread | |
48 Expected: Name: <autoread>, Oldval: <1>, NewVal: <0>, Scope: <global> | |
49 Autocmd Option: <autoread>, OldVal: <1>, NewVal: <0>, Scope: <global> | |
50 | |
51 12: Setting option backspace through :let | |
52 Expected: Name: <backspace>, Oldval: <>, NewVal: <eol,indent,start>, Scope: <global> | |
53 Autocmd Option: <backspace>, OldVal: <>, NewVal: <eol,indent,start>, Scope: <global> | |
54 | |
55 13: Setting option backspace through setbufvar() | |
56 Expected: Name: <backup>, Oldval: <>, NewVal: <1>, Scope: <local> | |
57 Autocmd Option: <backup>, OldVal: <0>, NewVal: <1>, Scope: <local> | |
58 | |
7156
0b4e65cf84fb
commit https://github.com/vim/vim/commit/74b738d414b2895b3365e26ae3b7792eb82ccf47
Christian Brabandt <cb@256bit.org>
parents:
6943
diff
changeset
|
59 14: Setting number option using setwinvar |
0b4e65cf84fb
commit https://github.com/vim/vim/commit/74b738d414b2895b3365e26ae3b7792eb82ccf47
Christian Brabandt <cb@256bit.org>
parents:
6943
diff
changeset
|
60 Expected: Name: <number>, Oldval: <0>, NewVal: <1>, Scope: <local> |
0b4e65cf84fb
commit https://github.com/vim/vim/commit/74b738d414b2895b3365e26ae3b7792eb82ccf47
Christian Brabandt <cb@256bit.org>
parents:
6943
diff
changeset
|
61 Autocmd Option: <number>, OldVal: <0>, NewVal: <1>, Scope: <local> |
0b4e65cf84fb
commit https://github.com/vim/vim/commit/74b738d414b2895b3365e26ae3b7792eb82ccf47
Christian Brabandt <cb@256bit.org>
parents:
6943
diff
changeset
|
62 |
0b4e65cf84fb
commit https://github.com/vim/vim/commit/74b738d414b2895b3365e26ae3b7792eb82ccf47
Christian Brabandt <cb@256bit.org>
parents:
6943
diff
changeset
|
63 15: Setting key option, shouldn't trigger |
0b4e65cf84fb
commit https://github.com/vim/vim/commit/74b738d414b2895b3365e26ae3b7792eb82ccf47
Christian Brabandt <cb@256bit.org>
parents:
6943
diff
changeset
|
64 |