blob: 218ba60d0ed8f17ecc28c59022e9275d7379576d [file] [log] [blame]
Bram Moolenaar4463f292005-09-25 22:20:24 +00001" Vim compiler file
Bram Moolenaar99ebf042006-04-15 20:28:54 +00002" Language: Test::Unit - Ruby Unit Testing Framework
3" Maintainer: Doug Kearns <dougkearns@gmail.com>
4" Info: $Id$
5" URL: http://vim-ruby.rubyforge.org
6" Anon CVS: See above site
7" Release Coordinator: Doug Kearns <dougkearns@gmail.com>
Bram Moolenaar4463f292005-09-25 22:20:24 +00008
9if exists("current_compiler")
10 finish
11endif
12let current_compiler = "rubyunit"
13
14if exists(":CompilerSet") != 2 " older Vim always used :setlocal
15 command -nargs=* CompilerSet setlocal <args>
16endif
17
18let s:cpo_save = &cpo
19set cpo-=C
20
21CompilerSet makeprg=testrb
22
23CompilerSet errorformat=\%W\ %\\+%\\d%\\+)\ Failure:,
24 \%C%m\ [%f:%l]:,
Bram Moolenaara5fb28b2005-10-10 21:00:54 +000025 \%E\ %\\+%\\d%\\+)\ Error:,
Bram Moolenaar4463f292005-09-25 22:20:24 +000026 \%C%m:,
27 \%C\ \ \ \ %f:%l:%.%#,
28 \%C%m,
29 \%Z\ %#,
30 \%-G%.%#
31
32let &cpo = s:cpo_save
33unlet s:cpo_save
34
35" vim: nowrap sw=2 sts=2 ts=8 ff=unix: