summaryrefslogtreecommitdiff
path: root/src/testdir/test68.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/testdir/test68.in')
-rw-r--r--src/testdir/test68.in67
1 files changed, 67 insertions, 0 deletions
diff --git a/src/testdir/test68.in b/src/testdir/test68.in
new file mode 100644
index 0000000..8d0c501
--- /dev/null
+++ b/src/testdir/test68.in
@@ -0,0 +1,67 @@
+Test for text formatting.
+
+Results of test68:
+
+STARTTEST
+:so small.vim
+/^{/+1
+:set noai tw=2 fo=t
+gRa b
+ENDTEST
+
+{
+
+
+}
+
+STARTTEST
+/^{/+1
+:set ai tw=2 fo=tw
+gqgqjjllab
+ENDTEST
+
+{
+a b
+
+a
+}
+
+STARTTEST
+/^{/+1
+:set tw=3 fo=t
+gqgqo
+a 
+ENDTEST
+
+{
+a 
+}
+
+STARTTEST
+/^{/+1
+:set tw=2 fo=tcq1 comments=:#
+gqgqjgqgqo
+a b
+#a b
+ENDTEST
+
+{
+a b
+#a b
+}
+
+STARTTEST
+/^{/+2
+:set tw& fo=a
+I^^
+ENDTEST
+
+{
+ 1aa
+ 2bb
+}
+
+STARTTEST
+:g/^STARTTEST/.,/^ENDTEST/d
+:1;/^Results/,$wq! test.out
+ENDTEST