1" Vim compiler file 2" Language: RSpec 3" Maintainer: Tim Pope <[email protected]> 4" URL: https://github.com/vim-ruby/vim-ruby 5" Release Coordinator: Doug Kearns <[email protected]> 6" Last Change: 2018 Aug 07 7 8if exists("current_compiler") 9 finish 10endif 11let current_compiler = "rspec" 12 13if exists(":CompilerSet") != 2 " older Vim always used :setlocal 14 command -nargs=* CompilerSet setlocal <args> 15endif 16 17let s:cpo_save = &cpo 18set cpo-=C 19 20CompilerSet makeprg=rspec 21 22CompilerSet errorformat= 23 \%f:%l:\ %tarning:\ %m, 24 \%E%.%#:in\ `load':\ %f:%l:%m, 25 \%E%f:%l:in\ `%*[^']':\ %m, 26 \%-Z\ \ \ \ \ %\\+\#\ %f:%l:%.%#, 27 \%E\ \ \ \ \ Failure/Error:\ %m, 28 \%E\ \ \ \ \ Failure/Error:, 29 \%C\ \ \ \ \ %m, 30 \%C%\\s%#, 31 \%-G%.%# 32 33let &cpo = s:cpo_save 34unlet s:cpo_save 35 36" vim: nowrap sw=2 sts=2 ts=8: 37