0
0
mirror of https://github.com/vim/vim.git synced 2025-07-04 23:07:33 -04:00
vim/runtime/compiler/rspec.vim

35 lines
753 B
VimL
Raw Normal View History

2008-07-13 17:41:49 +00:00
" Vim compiler file
" Language: RSpec
2010-05-28 20:54:39 +02:00
" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
2013-06-12 21:29:15 +02:00
" URL: https://github.com/vim-ruby/vim-ruby
2008-07-13 17:41:49 +00:00
" Release Coordinator: Doug Kearns <dougkearns@gmail.com>
if exists("current_compiler")
finish
endif
let current_compiler = "rspec"
if exists(":CompilerSet") != 2 " older Vim always used :setlocal
command -nargs=* CompilerSet setlocal <args>
endif
let s:cpo_save = &cpo
set cpo-=C
2013-06-12 21:29:15 +02:00
CompilerSet makeprg=rspec
2008-07-13 17:41:49 +00:00
CompilerSet errorformat=
2013-06-12 21:29:15 +02:00
\%f:%l:\ %tarning:\ %m,
2008-07-13 17:41:49 +00:00
\%E%.%#:in\ `load':\ %f:%l:%m,
2013-06-12 21:29:15 +02:00
\%E%f:%l:in\ `%*[^']':\ %m,
\%-Z\ \ \ \ \ %\\+\#\ %f:%l:%.%#,
2013-06-12 21:29:15 +02:00
\%E\ \ %\\d%\\+)%.%#,
\%C\ \ \ \ \ %m,
\%C%\\s%#,
2008-07-13 17:41:49 +00:00
\%-G%.%#
let &cpo = s:cpo_save
unlet s:cpo_save
" vim: nowrap sw=2 sts=2 ts=8: