Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 1 | " Vim compiler file |
| 2 | " Compiler: reStructuredText Documentation Format |
| 3 | " Maintainer: Nikolai Weibull <source@pcppopper.org> |
| 4 | " URL: http://www.pcppopper.org/vim/compiler/pcp/rst/ |
| 5 | " Latest Revision: 2004-05-22 |
| 6 | " arch-tag: ac64a95a-5d45-493d-a9f9-f96fc8568657 |
| 7 | |
| 8 | if exists("current_compiler") |
| 9 | finish |
| 10 | endif |
| 11 | let current_compiler = "rst" |
| 12 | |
| 13 | if exists(":CompilerSet") != 2 " older Vim always used :setlocal |
| 14 | command -nargs=* CompilerSet setlocal <args> |
| 15 | endif |
| 16 | |
| 17 | let s:cpo_save = &cpo |
| 18 | set cpo-=C |
| 19 | |
| 20 | CompilerSet errorformat= |
| 21 | \%f:%l:\ (%tEBUG/0)\ %m, |
| 22 | \%f:%l:\ (%tNFO/1)\ %m, |
| 23 | \%f:%l:\ (%tARNING/2)\ %m, |
| 24 | \%f:%l:\ (%tRROR/3)\ %m, |
| 25 | \%f:%l:\ (%tEVERE/3)\ %m, |
| 26 | \%D%*\\a[%*\\d]:\ Entering\ directory\ `%f', |
| 27 | \%X%*\\a[%*\\d]:\ Leaving\ directory\ `%f', |
| 28 | \%DMaking\ %*\\a\ in\ %f |
| 29 | |
| 30 | let &cpo = s:cpo_save |
| 31 | unlet s:cpo_save |
| 32 | |
| 33 | " vim: set sts=2 sw=2: |