blob: c0c626ecf234ff51a83330a69fe7d93d67825c25 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
" :compiler support for PHP syntax checking with `php -l`
if exists('current_compiler') || &compatible || v:version < 800
finish
endif
let current_compiler = 'php'
CompilerSet makeprg=php\ -lq\ -f\ %:S
CompilerSet errorformat=
\%E<b>%.%#Parse\ error</b>:
\\ %m\ in\ <b>%f</b>\ on\ line\ <b>%l</b><br\ />,
\%W<b>%.%#Notice</b>:
\\ %m\ in\ <b>%f</b>\ on\ line\ <b>%l</b><br\ />,
\%E%.%#Parse\ error:
\\ %m\ in\ %f\ on\ line\ %l,
\%W%.%#Notice:
\\ %m\ in\ %f\ on\ line\ %l,
\%-G%.%#
|