xref: /vim-8.2.3635/runtime/compiler/rspec.vim (revision bb76f24a)
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
7if exists("current_compiler")
8  finish
9endif
10let current_compiler = "rspec"
11
12if exists(":CompilerSet") != 2		" older Vim always used :setlocal
13  command -nargs=* CompilerSet setlocal <args>
14endif
15
16let s:cpo_save = &cpo
17set cpo-=C
18
19CompilerSet makeprg=rspec
20
21CompilerSet errorformat=
22    \%f:%l:\ %tarning:\ %m,
23    \%E%.%#:in\ `load':\ %f:%l:%m,
24    \%E%f:%l:in\ `%*[^']':\ %m,
25    \%-Z\ \ \ \ \ %\\+\#\ %f:%l:%.%#,
26    \%E\ \ %\\d%\\+)%.%#,
27    \%C\ \ \ \ \ %m,
28    \%C%\\s%#,
29    \%-G%.%#
30
31let &cpo = s:cpo_save
32unlet s:cpo_save
33
34" vim: nowrap sw=2 sts=2 ts=8:
35