3 " Maintainer: Doug Kearns <dougkearns@gmail.com>
4 " URL: https://github.com/vim-ruby/vim-ruby
5 " Release Coordinator: Doug Kearns <dougkearns@gmail.com>
7 if exists("current_compiler")
10 let current_compiler = "eruby"
12 if exists(":CompilerSet") != 2 " older Vim always used :setlocal
13 command -nargs=* CompilerSet setlocal <args>
19 if exists("eruby_compiler") && eruby_compiler == "eruby"
20 CompilerSet makeprg=eruby
22 CompilerSet makeprg=erb
25 CompilerSet errorformat=
27 \%+E%f:%l:\ parse\ error,
28 \%W%f:%l:\ warning:\ %m,
29 \%E%f:%l:in\ %*[^:]:\ %m,
31 \%-C%\tfrom\ %f:%l:in\ %.%#,
39 " vim: nowrap sw=2 sts=2 ts=8: