2004
|
1 Test for text formatting.
|
|
2
|
|
3 Results of test68:
|
|
4
|
|
5 STARTTEST
|
|
6 :so small.vim
|
|
7 /^{/+1
|
|
8 :set noai tw=2 fo=t
|
|
9 gRa b
|
|
10 ENDTEST
|
|
11
|
|
12 {
|
|
13
|
|
14
|
|
15 }
|
|
16
|
|
17 STARTTEST
|
|
18 /^{/+1
|
|
19 :set ai tw=2 fo=tw
|
|
20 gqgqjjllab
|
|
21 ENDTEST
|
|
22
|
|
23 {
|
|
24 a b
|
|
25
|
|
26 a
|
|
27 }
|
|
28
|
|
29 STARTTEST
|
|
30 /^{/+1
|
|
31 :set tw=3 fo=t
|
|
32 gqgqo
|
|
33 a
|
|
34 ENDTEST
|
|
35
|
|
36 {
|
|
37 a
|
|
38 }
|
|
39
|
|
40 STARTTEST
|
|
41 /^{/+1
|
|
42 :set tw=2 fo=tcq1 comments=:#
|
|
43 gqgqjgqgqo
|
|
44 a b
|
|
45 #a b
|
|
46 ENDTEST
|
|
47
|
|
48 {
|
|
49 a b
|
|
50 #a b
|
|
51 }
|
|
52
|
|
53 STARTTEST
|
3584
|
54 /^{/+1
|
3632
|
55 :set tw=5 fo=tcn comments=:#
|
|
56 A bjA b
|
|
57 ENDTEST
|
|
58
|
|
59 {
|
|
60 1 a
|
|
61 # 1 a
|
|
62 }
|
|
63
|
|
64 STARTTEST
|
5403
|
65 /^{/+3
|
|
66 :set tw=5 fo=t2a si
|
|
67 i A_
|
|
68 ENDTEST
|
|
69
|
|
70 {
|
|
71
|
|
72 x a
|
|
73 b
|
|
74 c
|
|
75
|
|
76 }
|
|
77
|
|
78 STARTTEST
|
3632
|
79 /^{/+1
|
3584
|
80 :set tw=5 fo=qn comments=:#
|
|
81 gwap
|
|
82 ENDTEST
|
|
83
|
|
84 {
|
|
85 # 1 a b
|
|
86 }
|
|
87
|
|
88 STARTTEST
|
|
89 /^{/+1
|
|
90 :set tw=5 fo=q2 comments=:#
|
|
91 gwap
|
|
92 ENDTEST
|
|
93
|
|
94 {
|
|
95 # x
|
|
96 # a b
|
|
97 }
|
|
98
|
|
99 STARTTEST
|
2597
|
100 /^{/+2
|
|
101 :set tw& fo=a
|
|
102 I^^
|
|
103 ENDTEST
|
|
104
|
|
105 {
|
|
106 1aa
|
|
107 2bb
|
|
108 }
|
|
109
|
|
110 STARTTEST
|
3705
|
111 /mno pqr/
|
|
112 :setl tw=20 fo=an12wcq comments=s1:/*,mb:*,ex:*/
|
|
113 A vwx yz
|
|
114 ENDTEST
|
|
115
|
|
116 /* abc def ghi jkl
|
|
117 * mno pqr stu
|
|
118 */
|
|
119
|
|
120 STARTTEST
|
3632
|
121 /^#/
|
|
122 :setl tw=12 fo=tqnc comments=:#
|
|
123 A foobar
|
|
124 ENDTEST
|
|
125
|
|
126 # 1 xxxxx
|
|
127
|
|
128 STARTTEST
|
2004
|
129 :g/^STARTTEST/.,/^ENDTEST/d
|
|
130 :1;/^Results/,$wq! test.out
|
|
131 ENDTEST
|