rspec.vim 753 B

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