annotate src/testdir/test_autocmd_option.ok @ 10871:c02cdc370340 v8.0.0325

patch 8.0.0325: packadd test does not clean up symlink commit https://github.com/vim/vim/commit/913727e56761d57aaba61197c2d3485418dea7eb Author: Bram Moolenaar <Bram@vim.org> Date: Sat Feb 11 11:34:58 2017 +0100 patch 8.0.0325: packadd test does not clean up symlink Problem: Packadd test does not clean up symlink. Solution: Delete the link. (Hirohito Higashi)
author Christian Brabandt <cb@256bit.org>
date Sat, 11 Feb 2017 11:45:04 +0100
parents 0b4e65cf84fb
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6935
4db70c94226b patch 7.4.786
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
1 dummy text
4db70c94226b patch 7.4.786
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
2
4db70c94226b patch 7.4.786
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
3 1: Setting number option
4db70c94226b patch 7.4.786
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
4 Expected: Name: <number>, Oldval: <0>, NewVal: <1>, Scope: <global>
4db70c94226b patch 7.4.786
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
5 Autocmd Option: <number>, OldVal: <0>, NewVal: <1>, Scope: <global>
4db70c94226b patch 7.4.786
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
6
4db70c94226b patch 7.4.786
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
7 2: Setting local number option
4db70c94226b patch 7.4.786
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
8 Expected: Name: <number>, Oldval: <1>, NewVal: <0>, Scope: <local>
4db70c94226b patch 7.4.786
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
9 Autocmd Option: <number>, OldVal: <1>, NewVal: <0>, Scope: <local>
4db70c94226b patch 7.4.786
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
10
4db70c94226b patch 7.4.786
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
11 3: Setting global number option
4db70c94226b patch 7.4.786
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
12 Expected: Name: <number>, Oldval: <1>, NewVal: <0>, Scope: <global>
4db70c94226b patch 7.4.786
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
13 Autocmd Option: <number>, OldVal: <1>, NewVal: <0>, Scope: <global>
4db70c94226b patch 7.4.786
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
14
4db70c94226b patch 7.4.786
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
15 4: Setting local autoindent option
4db70c94226b patch 7.4.786
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
16 Expected: Name: <autoindent>, Oldval: <0>, NewVal: <1>, Scope: <local>
4db70c94226b patch 7.4.786
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
17 Autocmd Option: <autoindent>, OldVal: <0>, NewVal: <1>, Scope: <local>
4db70c94226b patch 7.4.786
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
18
4db70c94226b patch 7.4.786
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
19 5: Setting global autoindent option
4db70c94226b patch 7.4.786
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
20 Expected: Name: <autoindent>, Oldval: <0>, NewVal: <1>, Scope: <global>
4db70c94226b patch 7.4.786
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
21 Autocmd Option: <autoindent>, OldVal: <0>, NewVal: <1>, Scope: <global>
4db70c94226b patch 7.4.786
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
22
4db70c94226b patch 7.4.786
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
23 6: Setting global autoindent option
4db70c94226b patch 7.4.786
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
24 Expected: Name: <autoindent>, Oldval: <1>, NewVal: <0>, Scope: <global>
4db70c94226b patch 7.4.786
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
25 Autocmd Option: <autoindent>, OldVal: <1>, NewVal: <0>, Scope: <global>
4db70c94226b patch 7.4.786
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
26
4db70c94226b patch 7.4.786
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
27 7: Setting several global list and number option
4db70c94226b patch 7.4.786
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
28 Expected: Name: <list>, Oldval: <0>, NewVal: <1>, Scope: <global>
4db70c94226b patch 7.4.786
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
29 Autocmd Option: <list>, OldVal: <0>, NewVal: <1>, Scope: <global>
4db70c94226b patch 7.4.786
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
30
4db70c94226b patch 7.4.786
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
31 7: Setting several global list and number option
4db70c94226b patch 7.4.786
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
32 Expected: Name: <number>, Oldval: <0>, NewVal: <1>, Scope: <global>
4db70c94226b patch 7.4.786
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
33 Autocmd Option: <number>, OldVal: <0>, NewVal: <1>, Scope: <global>
4db70c94226b patch 7.4.786
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
34
4db70c94226b patch 7.4.786
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
35 8: Setting global acd
4db70c94226b patch 7.4.786
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
36 Expected: Name: <autochdir>, Oldval: <0>, NewVal: <1>, Scope: <global>
4db70c94226b patch 7.4.786
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
37 Autocmd Option: <autochdir>, OldVal: <0>, NewVal: <1>, Scope: <local>
4db70c94226b patch 7.4.786
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
38
4db70c94226b patch 7.4.786
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
39 9: Setting global autoread
4db70c94226b patch 7.4.786
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
40 Expected: Name: <autoread>, Oldval: <0>, NewVal: <1>, Scope: <global>
4db70c94226b patch 7.4.786
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
41 Autocmd Option: <autoread>, OldVal: <0>, NewVal: <1>, Scope: <global>
4db70c94226b patch 7.4.786
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
42
4db70c94226b patch 7.4.786
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
43 10: Setting local autoread
4db70c94226b patch 7.4.786
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
44 Expected: Name: <autoread>, Oldval: <0>, NewVal: <1>, Scope: <local>
4db70c94226b patch 7.4.786
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
45 Autocmd Option: <autoread>, OldVal: <1>, NewVal: <1>, Scope: <local>
4db70c94226b patch 7.4.786
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
46
4db70c94226b patch 7.4.786
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
47 11: Setting global autoread
4db70c94226b patch 7.4.786
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
48 Expected: Name: <autoread>, Oldval: <1>, NewVal: <0>, Scope: <global>
4db70c94226b patch 7.4.786
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
49 Autocmd Option: <autoread>, OldVal: <1>, NewVal: <0>, Scope: <global>
4db70c94226b patch 7.4.786
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
50
4db70c94226b patch 7.4.786
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
51 12: Setting option backspace through :let
4db70c94226b patch 7.4.786
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
52 Expected: Name: <backspace>, Oldval: <>, NewVal: <eol,indent,start>, Scope: <global>
4db70c94226b patch 7.4.786
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
53 Autocmd Option: <backspace>, OldVal: <>, NewVal: <eol,indent,start>, Scope: <global>
4db70c94226b patch 7.4.786
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
54
4db70c94226b patch 7.4.786
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
55 13: Setting option backspace through setbufvar()
4db70c94226b patch 7.4.786
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
56 Expected: Name: <backup>, Oldval: <>, NewVal: <1>, Scope: <local>
4db70c94226b patch 7.4.786
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
57 Autocmd Option: <backup>, OldVal: <0>, NewVal: <1>, Scope: <local>
4db70c94226b patch 7.4.786
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
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