vim

Fork of vim, an acceptable text editor
git clone git://git.laack.co/vim.git
Log | Files | Refs | README | LICENSE

rspec.vim (716B)


      1 " Vim compiler file
      2 " Language:		RSpec
      3 " Maintainer:		Tim Pope <vimNOSPAM@tpope.org>
      4 " URL:			https://github.com/vim-ruby/vim-ruby
      5 " Last Change:		2018 Aug 07
      6 "			2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
      7 
      8 if exists("current_compiler")
      9   finish
     10 endif
     11 let current_compiler = "rspec"
     12 
     13 let s:cpo_save = &cpo
     14 set cpo-=C
     15 
     16 CompilerSet makeprg=rspec
     17 
     18 CompilerSet errorformat=
     19     \%f:%l:\ %tarning:\ %m,
     20     \%E%.%#:in\ `load':\ %f:%l:%m,
     21     \%E%f:%l:in\ `%*[^']':\ %m,
     22     \%-Z\ \ \ \ \ %\\+\#\ %f:%l:%.%#,
     23     \%E\ \ \ \ \ Failure/Error:\ %m,
     24     \%E\ \ \ \ \ Failure/Error:,
     25     \%C\ \ \ \ \ %m,
     26     \%C%\\s%#,
     27     \%-G%.%#
     28 
     29 let &cpo = s:cpo_save
     30 unlet s:cpo_save
     31 
     32 " vim: nowrap sw=2 sts=2 ts=8: