annotate runtime/compiler/eruby.vim @ 5596:1098b7b6e147 v7.4.145

updated for version 7.4.145 Problem: getregtype() does not return zero for unknown register. Solution: Adjust documention: return empty string for unknown register. Check the register name to be valid. (Yukihiro Nakadaira)
author Bram Moolenaar <bram@vim.org>
date Tue, 14 Jan 2014 12:33:36 +0100
parents a5352e73dc00
children f0f06837a699
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>
4869
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2225
diff changeset
4 " URL: https://github.com/vim-ruby/vim-ruby
831
f24a95dae8ee updated for version 7.0d05
vimboss
parents: 557
diff changeset
5 " Release Coordinator: Doug Kearns <dougkearns@gmail.com>
530
339999b511a0 updated for version 7.0148
vimboss
parents:
diff changeset
6
339999b511a0 updated for version 7.0148
vimboss
parents:
diff changeset
7 if exists("current_compiler")
339999b511a0 updated for version 7.0148
vimboss
parents:
diff changeset
8 finish
339999b511a0 updated for version 7.0148
vimboss
parents:
diff changeset
9 endif
339999b511a0 updated for version 7.0148
vimboss
parents:
diff changeset
10 let current_compiler = "eruby"
339999b511a0 updated for version 7.0148
vimboss
parents:
diff changeset
11
339999b511a0 updated for version 7.0148
vimboss
parents:
diff changeset
12 if exists(":CompilerSet") != 2 " older Vim always used :setlocal
339999b511a0 updated for version 7.0148
vimboss
parents:
diff changeset
13 command -nargs=* CompilerSet setlocal <args>
339999b511a0 updated for version 7.0148
vimboss
parents:
diff changeset
14 endif
339999b511a0 updated for version 7.0148
vimboss
parents:
diff changeset
15
339999b511a0 updated for version 7.0148
vimboss
parents:
diff changeset
16 let s:cpo_save = &cpo
339999b511a0 updated for version 7.0148
vimboss
parents:
diff changeset
17 set cpo-=C
339999b511a0 updated for version 7.0148
vimboss
parents:
diff changeset
18
532
7052f11a3dc9 updated for version 7.0150
vimboss
parents: 530
diff changeset
19 if exists("eruby_compiler") && eruby_compiler == "eruby"
7052f11a3dc9 updated for version 7.0150
vimboss
parents: 530
diff changeset
20 CompilerSet makeprg=eruby
7052f11a3dc9 updated for version 7.0150
vimboss
parents: 530
diff changeset
21 else
7052f11a3dc9 updated for version 7.0150
vimboss
parents: 530
diff changeset
22 CompilerSet makeprg=erb
7052f11a3dc9 updated for version 7.0150
vimboss
parents: 530
diff changeset
23 endif
530
339999b511a0 updated for version 7.0148
vimboss
parents:
diff changeset
24
532
7052f11a3dc9 updated for version 7.0150
vimboss
parents: 530
diff changeset
25 CompilerSet errorformat=
7052f11a3dc9 updated for version 7.0150
vimboss
parents: 530
diff changeset
26 \eruby:\ %f:%l:%m,
7052f11a3dc9 updated for version 7.0150
vimboss
parents: 530
diff changeset
27 \%+E%f:%l:\ parse\ error,
7052f11a3dc9 updated for version 7.0150
vimboss
parents: 530
diff changeset
28 \%W%f:%l:\ warning:\ %m,
7052f11a3dc9 updated for version 7.0150
vimboss
parents: 530
diff changeset
29 \%E%f:%l:in\ %*[^:]:\ %m,
7052f11a3dc9 updated for version 7.0150
vimboss
parents: 530
diff changeset
30 \%E%f:%l:\ %m,
7052f11a3dc9 updated for version 7.0150
vimboss
parents: 530
diff changeset
31 \%-C%\tfrom\ %f:%l:in\ %.%#,
7052f11a3dc9 updated for version 7.0150
vimboss
parents: 530
diff changeset
32 \%-Z%\tfrom\ %f:%l,
7052f11a3dc9 updated for version 7.0150
vimboss
parents: 530
diff changeset
33 \%-Z%p^,
7052f11a3dc9 updated for version 7.0150
vimboss
parents: 530
diff changeset
34 \%-G%.%#
530
339999b511a0 updated for version 7.0148
vimboss
parents:
diff changeset
35
339999b511a0 updated for version 7.0148
vimboss
parents:
diff changeset
36 let &cpo = s:cpo_save
339999b511a0 updated for version 7.0148
vimboss
parents:
diff changeset
37 unlet s:cpo_save
339999b511a0 updated for version 7.0148
vimboss
parents:
diff changeset
38
1668
0b796e045c42 updated for version 7.2b-000
vimboss
parents: 1621
diff changeset
39 " vim: nowrap sw=2 sts=2 ts=8: