comparison runtime/compiler/php.vim @ 23:3f44e9abe4ec v7.0015

updated for version 7.0015
author vimboss
date Mon, 06 Sep 2004 17:44:46 +0000
parents
children 125e80798a85
comparison
equal deleted inserted replaced
22:cc049b00ee70 23:3f44e9abe4ec
1 " Vim compiler file
2 " Compiler: PHP
3 " Maintainer: Doug Kearns <djkea2@mugca.its.monash.edu.au>
4 " URL: http://mugca.its.monash.edu.au/~djkea2/vim/compiler/php.vim
5 " Last Change: 2004 Sep 05
6
7 if exists("current_compiler")
8 finish
9 endif
10 let current_compiler = "php"
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=php\ -lq
20
21 CompilerSet errorformat=%E<b>Parse\ error</b>:\ %m\ in\ <b>%f</b>\ on\ line\ <b>%l</b><br\ />,
22 \%W<b>Notice</b>:\ %m\ in\ <b>%f</b>\ on\ line\ <b>%l</b><br\ />,
23 \%EParse\ error:\ %m\ in\ %f\ on\ line\ %l,
24 \%WNotice:\ %m\ in\ %f</b>\ on\ line\ %l,
25 \%-G%.%#
26
27 let &cpo = s:cpo_save
28 unlet s:cpo_save