rake.vim 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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. " Last Change: 2018 Mar 02
  7. if exists("current_compiler")
  8. finish
  9. endif
  10. let current_compiler = "rake"
  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=rake
  17. CompilerSet errorformat=
  18. \%D(in\ %f),
  19. \%\\s%#%\\d%#:%#\ %#from\ %f:%l:%m,
  20. \%\\s%#%\\d%#:%#\ %#from\ %f:%l:,
  21. \%\\s%##\ %f:%l:%m%\\&%.%#%\\D:%\\d%\\+:%.%#,
  22. \%\\s%##\ %f:%l%\\&%.%#%\\D:%\\d%\\+,
  23. \%\\s%#[%f:%l:\ %#%m%\\&%.%#%\\D:%\\d%\\+:%.%#,
  24. \%\\s%#%f:%l:\ %#%m%\\&%.%#%\\D:%\\d%\\+:%.%#,
  25. \%\\s%#%f:%l:,
  26. \%m\ [%f:%l]:,
  27. \%+Erake\ aborted!,
  28. \%+EDon't\ know\ how\ to\ build\ task\ %.%#,
  29. \%+Einvalid\ option:%.%#,
  30. \%+Irake\ %\\S%\\+%\\s%\\+#\ %.%#
  31. let &cpo = s:cpo_save
  32. unlet s:cpo_save
  33. " vim: nowrap sw=2 sts=2 ts=8: