1" Vim compiler file 2" Language: Test::Unit - Ruby Unit Testing Framework 3" Maintainer: Doug Kearns <[email protected]> 4" Info: $Id: rubyunit.vim,v 1.12 2008/06/29 04:18:43 tpope Exp $ 5" URL: http://vim-ruby.rubyforge.org 6" Anon CVS: See above site 7" Release Coordinator: Doug Kearns <[email protected]> 8 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]:, 25 \%E\ %\\+%\\d%\\+)\ Error:, 26 \%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: 36