annotate src/testdir/test2.in @ 40:01573c245f15

fix for remote editor
author one@zeus.cr.ie.u-ryukyu.ac.jp
date Sat, 18 Dec 2010 18:47:04 +0900
parents 76efa0be13f1
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
1
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
2 This is a test if a URL is recognized by "gf", with the cursor before and
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
3 after the "://". Also test ":\\".
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
4
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
5 STARTTEST
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
6 :so small.vim
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
7 /^first
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
8 /tmp
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
9 :call append(0, expand("<cfile>"))
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
10 /^second
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
11 /URL
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
12 :call append(1, expand("<cfile>"))
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
13 :if has("ebcdic")
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
14 : set isf=@,240-249,/,.,-,_,+,,,$,:,~,\
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
15 :else
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
16 : set isf=@,48-57,/,.,-,_,+,,,$,:,~,\
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
17 :endif
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
18 /^third
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
19 /name
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
20 :call append(2, expand("<cfile>"))
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
21 /^fourth
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
22 /URL
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
23 :call append(3, expand("<cfile>"))
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
24 5GdG:wq! test.out
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
25 ENDTEST
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
26 first test for URL://machine.name/tmp/vimtest2a and other text
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
27 second test for URL://machine.name/tmp/vimtest2b. And other text
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
28 third test for URL:\\machine.name\vimtest2c and other text
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
29 fourth test for URL:\\machine.name\tmp\vimtest2d, and other text