rspec.vim 825 B

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