annotate src/testdir/test68.in @ 6911:e09a7ff88046 v7.4.775

patch 7.4.775 Problem: It is not possible to avoid using the first item of completion. Solution: Add the "noinsert" and "noselect" values to 'completeopt'. (Shougo Matsu)
author Bram Moolenaar <bram@vim.org>
date Fri, 10 Jul 2015 18:18:40 +0200
parents b9c1c1f4cda9
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2004
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
1 Test for text formatting.
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
2
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
3 Results of test68:
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
4
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
5 STARTTEST
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
6 :so small.vim
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
7 /^{/+1
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
8 :set noai tw=2 fo=t
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
9 gRa b
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
10 ENDTEST
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
11
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
12 {
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
13
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
14
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
15 }
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
16
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
17 STARTTEST
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
18 /^{/+1
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
19 :set ai tw=2 fo=tw
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
20 gqgqjjllab
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
21 ENDTEST
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
22
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
23 {
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
24 a b
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
25
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
26 a
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
27 }
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
28
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
29 STARTTEST
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
30 /^{/+1
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
31 :set tw=3 fo=t
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
32 gqgqo
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
33 a 
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
34 ENDTEST
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
35
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
36 {
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
37 a 
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
38 }
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
39
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
40 STARTTEST
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
41 /^{/+1
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
42 :set tw=2 fo=tcq1 comments=:#
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
43 gqgqjgqgqo
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
44 a b
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
45 #a b
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
46 ENDTEST
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
47
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
48 {
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
49 a b
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
50 #a b
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
51 }
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
52
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
53 STARTTEST
3584
443c50cd3e88 updated for version 7.3.552
Bram Moolenaar <bram@vim.org>
parents: 2597
diff changeset
54 /^{/+1
3632
7e3fedfc3d08 updated for version 7.3.576
Bram Moolenaar <bram@vim.org>
parents: 3584
diff changeset
55 :set tw=5 fo=tcn comments=:#
7e3fedfc3d08 updated for version 7.3.576
Bram Moolenaar <bram@vim.org>
parents: 3584
diff changeset
56 A bjA b
7e3fedfc3d08 updated for version 7.3.576
Bram Moolenaar <bram@vim.org>
parents: 3584
diff changeset
57 ENDTEST
7e3fedfc3d08 updated for version 7.3.576
Bram Moolenaar <bram@vim.org>
parents: 3584
diff changeset
58
7e3fedfc3d08 updated for version 7.3.576
Bram Moolenaar <bram@vim.org>
parents: 3584
diff changeset
59 {
7e3fedfc3d08 updated for version 7.3.576
Bram Moolenaar <bram@vim.org>
parents: 3584
diff changeset
60 1 a
7e3fedfc3d08 updated for version 7.3.576
Bram Moolenaar <bram@vim.org>
parents: 3584
diff changeset
61 # 1 a
7e3fedfc3d08 updated for version 7.3.576
Bram Moolenaar <bram@vim.org>
parents: 3584
diff changeset
62 }
7e3fedfc3d08 updated for version 7.3.576
Bram Moolenaar <bram@vim.org>
parents: 3584
diff changeset
63
7e3fedfc3d08 updated for version 7.3.576
Bram Moolenaar <bram@vim.org>
parents: 3584
diff changeset
64 STARTTEST
5403
b9c1c1f4cda9 updated for version 7.4.052
Bram Moolenaar <bram@vim.org>
parents: 3705
diff changeset
65 /^{/+3
b9c1c1f4cda9 updated for version 7.4.052
Bram Moolenaar <bram@vim.org>
parents: 3705
diff changeset
66 :set tw=5 fo=t2a si
b9c1c1f4cda9 updated for version 7.4.052
Bram Moolenaar <bram@vim.org>
parents: 3705
diff changeset
67 i A_
b9c1c1f4cda9 updated for version 7.4.052
Bram Moolenaar <bram@vim.org>
parents: 3705
diff changeset
68 ENDTEST
b9c1c1f4cda9 updated for version 7.4.052
Bram Moolenaar <bram@vim.org>
parents: 3705
diff changeset
69
b9c1c1f4cda9 updated for version 7.4.052
Bram Moolenaar <bram@vim.org>
parents: 3705
diff changeset
70 {
b9c1c1f4cda9 updated for version 7.4.052
Bram Moolenaar <bram@vim.org>
parents: 3705
diff changeset
71
b9c1c1f4cda9 updated for version 7.4.052
Bram Moolenaar <bram@vim.org>
parents: 3705
diff changeset
72 x a
b9c1c1f4cda9 updated for version 7.4.052
Bram Moolenaar <bram@vim.org>
parents: 3705
diff changeset
73 b
b9c1c1f4cda9 updated for version 7.4.052
Bram Moolenaar <bram@vim.org>
parents: 3705
diff changeset
74 c
b9c1c1f4cda9 updated for version 7.4.052
Bram Moolenaar <bram@vim.org>
parents: 3705
diff changeset
75
b9c1c1f4cda9 updated for version 7.4.052
Bram Moolenaar <bram@vim.org>
parents: 3705
diff changeset
76 }
b9c1c1f4cda9 updated for version 7.4.052
Bram Moolenaar <bram@vim.org>
parents: 3705
diff changeset
77
b9c1c1f4cda9 updated for version 7.4.052
Bram Moolenaar <bram@vim.org>
parents: 3705
diff changeset
78 STARTTEST
3632
7e3fedfc3d08 updated for version 7.3.576
Bram Moolenaar <bram@vim.org>
parents: 3584
diff changeset
79 /^{/+1
3584
443c50cd3e88 updated for version 7.3.552
Bram Moolenaar <bram@vim.org>
parents: 2597
diff changeset
80 :set tw=5 fo=qn comments=:#
443c50cd3e88 updated for version 7.3.552
Bram Moolenaar <bram@vim.org>
parents: 2597
diff changeset
81 gwap
443c50cd3e88 updated for version 7.3.552
Bram Moolenaar <bram@vim.org>
parents: 2597
diff changeset
82 ENDTEST
443c50cd3e88 updated for version 7.3.552
Bram Moolenaar <bram@vim.org>
parents: 2597
diff changeset
83
443c50cd3e88 updated for version 7.3.552
Bram Moolenaar <bram@vim.org>
parents: 2597
diff changeset
84 {
443c50cd3e88 updated for version 7.3.552
Bram Moolenaar <bram@vim.org>
parents: 2597
diff changeset
85 # 1 a b
443c50cd3e88 updated for version 7.3.552
Bram Moolenaar <bram@vim.org>
parents: 2597
diff changeset
86 }
443c50cd3e88 updated for version 7.3.552
Bram Moolenaar <bram@vim.org>
parents: 2597
diff changeset
87
443c50cd3e88 updated for version 7.3.552
Bram Moolenaar <bram@vim.org>
parents: 2597
diff changeset
88 STARTTEST
443c50cd3e88 updated for version 7.3.552
Bram Moolenaar <bram@vim.org>
parents: 2597
diff changeset
89 /^{/+1
443c50cd3e88 updated for version 7.3.552
Bram Moolenaar <bram@vim.org>
parents: 2597
diff changeset
90 :set tw=5 fo=q2 comments=:#
443c50cd3e88 updated for version 7.3.552
Bram Moolenaar <bram@vim.org>
parents: 2597
diff changeset
91 gwap
443c50cd3e88 updated for version 7.3.552
Bram Moolenaar <bram@vim.org>
parents: 2597
diff changeset
92 ENDTEST
443c50cd3e88 updated for version 7.3.552
Bram Moolenaar <bram@vim.org>
parents: 2597
diff changeset
93
443c50cd3e88 updated for version 7.3.552
Bram Moolenaar <bram@vim.org>
parents: 2597
diff changeset
94 {
443c50cd3e88 updated for version 7.3.552
Bram Moolenaar <bram@vim.org>
parents: 2597
diff changeset
95 # x
443c50cd3e88 updated for version 7.3.552
Bram Moolenaar <bram@vim.org>
parents: 2597
diff changeset
96 # a b
443c50cd3e88 updated for version 7.3.552
Bram Moolenaar <bram@vim.org>
parents: 2597
diff changeset
97 }
443c50cd3e88 updated for version 7.3.552
Bram Moolenaar <bram@vim.org>
parents: 2597
diff changeset
98
443c50cd3e88 updated for version 7.3.552
Bram Moolenaar <bram@vim.org>
parents: 2597
diff changeset
99 STARTTEST
2597
c3b5d3fe9404 updated for version 7.3.020
Bram Moolenaar <bram@vim.org>
parents: 2004
diff changeset
100 /^{/+2
c3b5d3fe9404 updated for version 7.3.020
Bram Moolenaar <bram@vim.org>
parents: 2004
diff changeset
101 :set tw& fo=a
c3b5d3fe9404 updated for version 7.3.020
Bram Moolenaar <bram@vim.org>
parents: 2004
diff changeset
102 I^^
c3b5d3fe9404 updated for version 7.3.020
Bram Moolenaar <bram@vim.org>
parents: 2004
diff changeset
103 ENDTEST
c3b5d3fe9404 updated for version 7.3.020
Bram Moolenaar <bram@vim.org>
parents: 2004
diff changeset
104
c3b5d3fe9404 updated for version 7.3.020
Bram Moolenaar <bram@vim.org>
parents: 2004
diff changeset
105 {
c3b5d3fe9404 updated for version 7.3.020
Bram Moolenaar <bram@vim.org>
parents: 2004
diff changeset
106 1aa
c3b5d3fe9404 updated for version 7.3.020
Bram Moolenaar <bram@vim.org>
parents: 2004
diff changeset
107 2bb
c3b5d3fe9404 updated for version 7.3.020
Bram Moolenaar <bram@vim.org>
parents: 2004
diff changeset
108 }
c3b5d3fe9404 updated for version 7.3.020
Bram Moolenaar <bram@vim.org>
parents: 2004
diff changeset
109
c3b5d3fe9404 updated for version 7.3.020
Bram Moolenaar <bram@vim.org>
parents: 2004
diff changeset
110 STARTTEST
3705
2b4b6185054f updated for version 7.3.612
Bram Moolenaar <bram@vim.org>
parents: 3632
diff changeset
111 /mno pqr/
2b4b6185054f updated for version 7.3.612
Bram Moolenaar <bram@vim.org>
parents: 3632
diff changeset
112 :setl tw=20 fo=an12wcq comments=s1:/*,mb:*,ex:*/
2b4b6185054f updated for version 7.3.612
Bram Moolenaar <bram@vim.org>
parents: 3632
diff changeset
113 A vwx yz
2b4b6185054f updated for version 7.3.612
Bram Moolenaar <bram@vim.org>
parents: 3632
diff changeset
114 ENDTEST
2b4b6185054f updated for version 7.3.612
Bram Moolenaar <bram@vim.org>
parents: 3632
diff changeset
115
2b4b6185054f updated for version 7.3.612
Bram Moolenaar <bram@vim.org>
parents: 3632
diff changeset
116 /* abc def ghi jkl
2b4b6185054f updated for version 7.3.612
Bram Moolenaar <bram@vim.org>
parents: 3632
diff changeset
117 * mno pqr stu
2b4b6185054f updated for version 7.3.612
Bram Moolenaar <bram@vim.org>
parents: 3632
diff changeset
118 */
2b4b6185054f updated for version 7.3.612
Bram Moolenaar <bram@vim.org>
parents: 3632
diff changeset
119
2b4b6185054f updated for version 7.3.612
Bram Moolenaar <bram@vim.org>
parents: 3632
diff changeset
120 STARTTEST
3632
7e3fedfc3d08 updated for version 7.3.576
Bram Moolenaar <bram@vim.org>
parents: 3584
diff changeset
121 /^#/
7e3fedfc3d08 updated for version 7.3.576
Bram Moolenaar <bram@vim.org>
parents: 3584
diff changeset
122 :setl tw=12 fo=tqnc comments=:#
7e3fedfc3d08 updated for version 7.3.576
Bram Moolenaar <bram@vim.org>
parents: 3584
diff changeset
123 A foobar
7e3fedfc3d08 updated for version 7.3.576
Bram Moolenaar <bram@vim.org>
parents: 3584
diff changeset
124 ENDTEST
7e3fedfc3d08 updated for version 7.3.576
Bram Moolenaar <bram@vim.org>
parents: 3584
diff changeset
125
7e3fedfc3d08 updated for version 7.3.576
Bram Moolenaar <bram@vim.org>
parents: 3584
diff changeset
126 # 1 xxxxx
7e3fedfc3d08 updated for version 7.3.576
Bram Moolenaar <bram@vim.org>
parents: 3584
diff changeset
127
7e3fedfc3d08 updated for version 7.3.576
Bram Moolenaar <bram@vim.org>
parents: 3584
diff changeset
128 STARTTEST
2004
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
129 :g/^STARTTEST/.,/^ENDTEST/d
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
130 :1;/^Results/,$wq! test.out
9e554211caf5 updated for version 7.2-301
vimboss
parents:
diff changeset
131 ENDTEST