annotate src/testdir/test2.in @ 9421:ce8891614a89

Added tag v7.4.1991 for changeset 9f78f3f0c81f8d4d33020ce615f4918dde8e3132
author Christian Brabandt <cb@256bit.org>
date Thu, 07 Jul 2016 14:30:06 +0200
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