533
|
1 " Vim compiler file
|
833
|
2 " Language: Test::Unit - Ruby Unit Testing Framework
|
|
3 " Maintainer: Doug Kearns <dougkearns@gmail.com>
|
2225
|
4 " Last Change: 2008 Aug 1
|
833
|
5 " URL: http://vim-ruby.rubyforge.org
|
|
6 " Anon CVS: See above site
|
|
7 " Release Coordinator: Doug Kearns <dougkearns@gmail.com>
|
533
|
8
|
|
9 if exists("current_compiler")
|
|
10 finish
|
|
11 endif
|
|
12 let current_compiler = "rubyunit"
|
|
13
|
|
14 if exists(":CompilerSet") != 2 " older Vim always used :setlocal
|
|
15 command -nargs=* CompilerSet setlocal <args>
|
|
16 endif
|
|
17
|
|
18 let s:cpo_save = &cpo
|
|
19 set cpo-=C
|
|
20
|
|
21 CompilerSet makeprg=testrb
|
|
22
|
|
23 CompilerSet errorformat=\%W\ %\\+%\\d%\\+)\ Failure:,
|
|
24 \%C%m\ [%f:%l]:,
|
549
|
25 \%E\ %\\+%\\d%\\+)\ Error:,
|
533
|
26 \%C%m:,
|
|
27 \%C\ \ \ \ %f:%l:%.%#,
|
|
28 \%C%m,
|
|
29 \%Z\ %#,
|
|
30 \%-G%.%#
|
|
31
|
|
32 let &cpo = s:cpo_save
|
|
33 unlet s:cpo_save
|
|
34
|
1624
|
35 " vim: nowrap sw=2 sts=2 ts=8:
|