rubyunit.vim 775 B

12345678910111213141516171819202122232425262728293031323334
  1. " Vim compiler file
  2. " Language: Test::Unit - Ruby Unit Testing Framework
  3. " Maintainer: Doug Kearns <dougkearns@gmail.com>
  4. " URL: https://github.com/vim-ruby/vim-ruby
  5. " Release Coordinator: Doug Kearns <dougkearns@gmail.com>
  6. " Last Change: 2014 Mar 23
  7. " 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
  8. if exists("current_compiler")
  9. finish
  10. endif
  11. let current_compiler = "rubyunit"
  12. let s:cpo_save = &cpo
  13. set cpo-=C
  14. CompilerSet makeprg=testrb
  15. " CompilerSet makeprg=ruby\ -Itest
  16. " CompilerSet makeprg=m
  17. CompilerSet errorformat=\%W\ %\\+%\\d%\\+)\ Failure:,
  18. \%C%m\ [%f:%l]:,
  19. \%E\ %\\+%\\d%\\+)\ Error:,
  20. \%C%m:,
  21. \%C\ \ \ \ %f:%l:%.%#,
  22. \%C%m,
  23. \%Z\ %#,
  24. \%-G%.%#
  25. let &cpo = s:cpo_save
  26. unlet s:cpo_save
  27. " vim: nowrap sw=2 sts=2 ts=8: