annotate runtime/compiler/eruby.vim @ 1795:1fc8d918d9fc v7.2.093

updated for version 7.2-093
author vimboss
date Wed, 28 Jan 2009 20:23:17 +0000
parents 0b796e045c42
children 7bc41231fbc7
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
530
339999b511a0 updated for version 7.0148
vimboss
parents:
diff changeset
1 " Vim compiler file
831
f24a95dae8ee updated for version 7.0d05
vimboss
parents: 557
diff changeset
2 " Language: eRuby
f24a95dae8ee updated for version 7.0d05
vimboss
parents: 557
diff changeset
3 " Maintainer: Doug Kearns <dougkearns@gmail.com>
f24a95dae8ee updated for version 7.0d05
vimboss
parents: 557
diff changeset
4 " Info: $Id$
f24a95dae8ee updated for version 7.0d05
vimboss
parents: 557
diff changeset
5 " URL: http://vim-ruby.rubyforge.org
f24a95dae8ee updated for version 7.0d05
vimboss
parents: 557
diff changeset
6 " Anon CVS: See above site
f24a95dae8ee updated for version 7.0d05
vimboss
parents: 557
diff changeset
7 " Release Coordinator: Doug Kearns <dougkearns@gmail.com>
530
339999b511a0 updated for version 7.0148
vimboss
parents:
diff changeset
8
339999b511a0 updated for version 7.0148
vimboss
parents:
diff changeset
9 if exists("current_compiler")
339999b511a0 updated for version 7.0148
vimboss
parents:
diff changeset
10 finish
339999b511a0 updated for version 7.0148
vimboss
parents:
diff changeset
11 endif
339999b511a0 updated for version 7.0148
vimboss
parents:
diff changeset
12 let current_compiler = "eruby"
339999b511a0 updated for version 7.0148
vimboss
parents:
diff changeset
13
339999b511a0 updated for version 7.0148
vimboss
parents:
diff changeset
14 if exists(":CompilerSet") != 2 " older Vim always used :setlocal
339999b511a0 updated for version 7.0148
vimboss
parents:
diff changeset
15 command -nargs=* CompilerSet setlocal <args>
339999b511a0 updated for version 7.0148
vimboss
parents:
diff changeset
16 endif
339999b511a0 updated for version 7.0148
vimboss
parents:
diff changeset
17
339999b511a0 updated for version 7.0148
vimboss
parents:
diff changeset
18 let s:cpo_save = &cpo
339999b511a0 updated for version 7.0148
vimboss
parents:
diff changeset
19 set cpo-=C
339999b511a0 updated for version 7.0148
vimboss
parents:
diff changeset
20
532
7052f11a3dc9 updated for version 7.0150
vimboss
parents: 530
diff changeset
21 if exists("eruby_compiler") && eruby_compiler == "eruby"
7052f11a3dc9 updated for version 7.0150
vimboss
parents: 530
diff changeset
22 CompilerSet makeprg=eruby
7052f11a3dc9 updated for version 7.0150
vimboss
parents: 530
diff changeset
23 else
7052f11a3dc9 updated for version 7.0150
vimboss
parents: 530
diff changeset
24 CompilerSet makeprg=erb
7052f11a3dc9 updated for version 7.0150
vimboss
parents: 530
diff changeset
25 endif
530
339999b511a0 updated for version 7.0148
vimboss
parents:
diff changeset
26
532
7052f11a3dc9 updated for version 7.0150
vimboss
parents: 530
diff changeset
27 CompilerSet errorformat=
7052f11a3dc9 updated for version 7.0150
vimboss
parents: 530
diff changeset
28 \eruby:\ %f:%l:%m,
7052f11a3dc9 updated for version 7.0150
vimboss
parents: 530
diff changeset
29 \%+E%f:%l:\ parse\ error,
7052f11a3dc9 updated for version 7.0150
vimboss
parents: 530
diff changeset
30 \%W%f:%l:\ warning:\ %m,
7052f11a3dc9 updated for version 7.0150
vimboss
parents: 530
diff changeset
31 \%E%f:%l:in\ %*[^:]:\ %m,
7052f11a3dc9 updated for version 7.0150
vimboss
parents: 530
diff changeset
32 \%E%f:%l:\ %m,
7052f11a3dc9 updated for version 7.0150
vimboss
parents: 530
diff changeset
33 \%-C%\tfrom\ %f:%l:in\ %.%#,
7052f11a3dc9 updated for version 7.0150
vimboss
parents: 530
diff changeset
34 \%-Z%\tfrom\ %f:%l,
7052f11a3dc9 updated for version 7.0150
vimboss
parents: 530
diff changeset
35 \%-Z%p^,
7052f11a3dc9 updated for version 7.0150
vimboss
parents: 530
diff changeset
36 \%-G%.%#
530
339999b511a0 updated for version 7.0148
vimboss
parents:
diff changeset
37
339999b511a0 updated for version 7.0148
vimboss
parents:
diff changeset
38 let &cpo = s:cpo_save
339999b511a0 updated for version 7.0148
vimboss
parents:
diff changeset
39 unlet s:cpo_save
339999b511a0 updated for version 7.0148
vimboss
parents:
diff changeset
40
1668
0b796e045c42 updated for version 7.2b-000
vimboss
parents: 1621
diff changeset
41 " vim: nowrap sw=2 sts=2 ts=8: