annotate src/testdir/test2.in @ 1076:17b9587ff6d5 v7.0.202

updated for version 7.0-202
author vimboss
date Tue, 27 Feb 2007 15:48:28 +0000
parents 3fc0f57ecb91
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 This is a test if a URL is recognized by "gf", with the cursor before and
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 after the "://". Also test ":\\".
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5 STARTTEST
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 :so small.vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 /^first
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 /tmp
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 :call append(0, expand("<cfile>"))
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 /^second
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 /URL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 :call append(1, expand("<cfile>"))
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 :if has("ebcdic")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 : set isf=@,240-249,/,.,-,_,+,,,$,:,~,\
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 :else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 : set isf=@,48-57,/,.,-,_,+,,,$,:,~,\
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 :endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 /^third
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 /name
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 :call append(2, expand("<cfile>"))
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 /^fourth
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 /URL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 :call append(3, expand("<cfile>"))
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 5GdG:wq! test.out
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 ENDTEST
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 first test for URL://machine.name/tmp/vimtest2a and other text
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 second test for URL://machine.name/tmp/vimtest2b. And other text
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 third test for URL:\\machine.name\vimtest2c and other text
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 fourth test for URL:\\machine.name\tmp\vimtest2d, and other text