blob: dd5d4cb81a06dab6c33a1946b4a5ef4e5a430e62 [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>
Bram Moolenaar5c736222010-01-06 20:54:52 +01004" Info: $Id: rubyunit.vim,v 1.12 2008/06/29 04:18:43 tpope Exp $
Bram Moolenaar99ebf042006-04-15 20:28:54 +00005" 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
Bram Moolenaar8c8de832008-06-24 22:58:06 +000035" vim: nowrap sw=2 sts=2 ts=8: