Bram Moolenaar | ec7944a | 2013-06-12 21:29:15 +0200 | [diff] [blame] | 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 | |
| 7 | if exists("current_compiler") |
| 8 | finish |
| 9 | endif |
| 10 | let current_compiler = "rake" |
| 11 | |
| 12 | if exists(":CompilerSet") != 2 " older Vim always used :setlocal |
| 13 | command -nargs=* CompilerSet setlocal <args> |
| 14 | endif |
| 15 | |
| 16 | let s:cpo_save = &cpo |
| 17 | set cpo-=C |
| 18 | |
| 19 | CompilerSet makeprg=rake |
| 20 | |
| 21 | CompilerSet errorformat= |
| 22 | \%D(in\ %f), |
| 23 | \%\\s%#from\ %f:%l:%m, |
| 24 | \%\\s%#from\ %f:%l:, |
| 25 | \%\\s%##\ %f:%l:%m, |
| 26 | \%\\s%##\ %f:%l, |
| 27 | \%\\s%#[%f:%l:\ %#%m, |
| 28 | \%\\s%#%f:%l:\ %#%m, |
| 29 | \%\\s%#%f:%l:, |
| 30 | \%m\ [%f:%l]: |
| 31 | |
| 32 | let &cpo = s:cpo_save |
| 33 | unlet s:cpo_save |
| 34 | |
| 35 | " vim: nowrap sw=2 sts=2 ts=8: |