533
|
1 " Vim compiler file
|
833
|
2 " Language: Test::Unit - Ruby Unit Testing Framework
|
|
3 " Maintainer: Doug Kearns <dougkearns@gmail.com>
|
4869
|
4 " URL: https://github.com/vim-ruby/vim-ruby
|
833
|
5 " Release Coordinator: Doug Kearns <dougkearns@gmail.com>
|
533
|
6
|
|
7 if exists("current_compiler")
|
|
8 finish
|
|
9 endif
|
|
10 let current_compiler = "rubyunit"
|
|
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
|
|
19 CompilerSet makeprg=testrb
|
|
20
|
|
21 CompilerSet errorformat=\%W\ %\\+%\\d%\\+)\ Failure:,
|
|
22 \%C%m\ [%f:%l]:,
|
549
|
23 \%E\ %\\+%\\d%\\+)\ Error:,
|
533
|
24 \%C%m:,
|
|
25 \%C\ \ \ \ %f:%l:%.%#,
|
|
26 \%C%m,
|
|
27 \%Z\ %#,
|
|
28 \%-G%.%#
|
|
29
|
|
30 let &cpo = s:cpo_save
|
|
31 unlet s:cpo_save
|
|
32
|
1624
|
33 " vim: nowrap sw=2 sts=2 ts=8:
|