rake.vim 912 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. " Vim compiler file
  2. " Language: Rake
  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 = "rake"
  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=rake
  16. CompilerSet errorformat=
  17. \%D(in\ %f),
  18. \%\\s%#from\ %f:%l:%m,
  19. \%\\s%#from\ %f:%l:,
  20. \%\\s%##\ %f:%l:%m,
  21. \%\\s%##\ %f:%l,
  22. \%\\s%#[%f:%l:\ %#%m,
  23. \%\\s%#%f:%l:\ %#%m,
  24. \%\\s%#%f:%l:,
  25. \%m\ [%f:%l]:,
  26. \%+Erake\ aborted!,
  27. \%+EDon't\ know\ how\ to\ build\ task\ %.%#,
  28. \%+Einvalid\ option:%.%#,
  29. \%+Irake\ %\\S%\\+%\\s%\\+#\ %.%#
  30. let &cpo = s:cpo_save
  31. unlet s:cpo_save
  32. " vim: nowrap sw=2 sts=2 ts=8: