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
|
|
65 /^{/+1
|
3584
|
66 :set tw=5 fo=qn comments=:#
|
|
67 gwap
|
|
68 ENDTEST
|
|
69
|
|
70 {
|
|
71 # 1 a b
|
|
72 }
|
|
73
|
|
74 STARTTEST
|
|
75 /^{/+1
|
|
76 :set tw=5 fo=q2 comments=:#
|
|
77 gwap
|
|
78 ENDTEST
|
|
79
|
|
80 {
|
|
81 # x
|
|
82 # a b
|
|
83 }
|
|
84
|
|
85 STARTTEST
|
2597
|
86 /^{/+2
|
|
87 :set tw& fo=a
|
|
88 I^^
|
|
89 ENDTEST
|
|
90
|
|
91 {
|
|
92 1aa
|
|
93 2bb
|
|
94 }
|
|
95
|
|
96 STARTTEST
|
3705
|
97 /mno pqr/
|
|
98 :setl tw=20 fo=an12wcq comments=s1:/*,mb:*,ex:*/
|
|
99 A vwx yz
|
|
100 ENDTEST
|
|
101
|
|
102 /* abc def ghi jkl
|
|
103 * mno pqr stu
|
|
104 */
|
|
105
|
|
106 STARTTEST
|
3632
|
107 /^#/
|
|
108 :setl tw=12 fo=tqnc comments=:#
|
|
109 A foobar
|
|
110 ENDTEST
|
|
111
|
|
112 # 1 xxxxx
|
|
113
|
|
114 STARTTEST
|
2004
|
115 :g/^STARTTEST/.,/^ENDTEST/d
|
|
116 :1;/^Results/,$wq! test.out
|
|
117 ENDTEST
|