1668
|
1 " Vim compiler file
|
|
2 " Language: RSpec
|
2225
|
3 " Maintainer: Tim Pope <vimNOSPAM@tpope.org>
|
4869
|
4 " URL: https://github.com/vim-ruby/vim-ruby
|
1668
|
5 " Release Coordinator: Doug Kearns <dougkearns@gmail.com>
|
|
6
|
|
7 if exists("current_compiler")
|
|
8 finish
|
|
9 endif
|
|
10 let current_compiler = "rspec"
|
|
11
|
|
12 if exists(":CompilerSet") != 2 " older Vim always used :setlocal
|
|
13 command -nargs=* CompilerSet setlocal <args>
|
|
14 endif
|
|
15
|
|
16 let s:cpo_save = &cpo
|
|
17 set cpo-=C
|
|
18
|
4869
|
19 CompilerSet makeprg=rspec
|
1668
|
20
|
|
21 CompilerSet errorformat=
|
4869
|
22 \%f:%l:\ %tarning:\ %m,
|
1668
|
23 \%E%.%#:in\ `load':\ %f:%l:%m,
|
4869
|
24 \%E%f:%l:in\ `%*[^']':\ %m,
|
|
25 \%-Z\ \ \ \ \ \#\ %f:%l:%.%#,
|
|
26 \%E\ \ %\\d%\\+)%.%#,
|
|
27 \%C\ \ \ \ \ %m,
|
1668
|
28 \%-G%.%#
|
|
29
|
|
30 let &cpo = s:cpo_save
|
|
31 unlet s:cpo_save
|
|
32
|
|
33 " vim: nowrap sw=2 sts=2 ts=8:
|