view runtime/compiler/rspec.vim @ 7701:075810b0cb6c v7.4.1149

commit https://github.com/vim/vim/commit/d6357e8f93c50f984ffd69c3a0d247d8603f86c3 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jan 21 21:48:09 2016 +0100 patch 7.4.1149 Problem: Using the local value of 'errorformat' causes more problems than it solves. Solution: Revert 7.4.1013.
author Christian Brabandt <cb@256bit.org>
date Thu, 21 Jan 2016 22:00:04 +0100
parents a5352e73dc00
children 43efa4f5a8ea
line wrap: on
line source

" Vim compiler file
" Language:		RSpec
" Maintainer:		Tim Pope <vimNOSPAM@tpope.org>
" URL:			https://github.com/vim-ruby/vim-ruby
" 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

CompilerSet makeprg=rspec

CompilerSet errorformat=
    \%f:%l:\ %tarning:\ %m,
    \%E%.%#:in\ `load':\ %f:%l:%m,
    \%E%f:%l:in\ `%*[^']':\ %m,
    \%-Z\ \ \ \ \ \#\ %f:%l:%.%#,
    \%E\ \ %\\d%\\+)%.%#,
    \%C\ \ \ \ \ %m,
    \%-G%.%#

let &cpo = s:cpo_save
unlet s:cpo_save

" vim: nowrap sw=2 sts=2 ts=8: