Mercurial > vim
view runtime/compiler/php.vim @ 4354:c80838526eeb v7.3.926
updated for version 7.3.926
Problem: Autocommands are triggered by setwinvar() et al. Missing BufEnter
on :tabclose. Duplicate WinEnter on :tabclose. Wrong order of
events for :tablose and :tabnew.
Solution: Fix these autocommand events. (Zyx)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Mon, 06 May 2013 04:50:35 +0200 |
parents | 125e80798a85 |
children | f7add3891e95 |
line wrap: on
line source
" Vim compiler file " Compiler: PHP " Maintainer: Doug Kearns <djkea2@gus.gscit.monash.edu.au> " URL: http://gus.gscit.monash.edu.au/~djkea2/vim/compiler/php.vim " Last Change: 2004 Nov 27 if exists("current_compiler") finish endif let current_compiler = "php" if exists(":CompilerSet") != 2 " older Vim always used :setlocal command -nargs=* CompilerSet setlocal <args> endif let s:cpo_save = &cpo set cpo-=C CompilerSet makeprg=php\ -lq 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\ />, \%EParse\ error:\ %m\ in\ %f\ on\ line\ %l, \%WNotice:\ %m\ in\ %f</b>\ on\ line\ %l, \%-G%.%# let &cpo = s:cpo_save unlet s:cpo_save