phpErrorMarker : Mark syntax errors in php file
script karma |
Rating 18/8,
Downloaded by 3178 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Frederic Hardy |
|
script type |
ftplugin |
|
description |
phpErrorMarker set makeprg et errroformat automaticaly for php file.
A call to :make launch php syntax checking and set sign (:h sign for more informations) if there are any errors in file.
Some variables may be interesting :
g:phpErrorMarker#autowrite : if true, file will be automaticaly write before syntax checking, default is "0".
g:phpErrorMarker#php : path to php binary, default is "php".
g:phpErrorMarker#textError : sign used for error, default is "><".
g:phpErrorMarker#textWarning : sign used for warning, default is "--".
g:phpErrorMarker#automake : if true, make is automaticaly done after a write command like ":w", default is "0".
g:phpErrorMarker#openQuickfix : if true, quickfix window will be automaticaly opened after ":make".
g:phpErrorMarker#filter: if not empty, define the filter utility to clean PHP output.
Set these variables in your .vimrc to override default values, like that :
let g:phpErrorMarker#autowrite = 1
Please, report any bug to phpErrorMarker.vim[..at..]mageekbox.net. |
|
install details |
Download vimball, open it with vim, and do :so %.
Create or open a php file, and do :make. |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 142.132.191.50
|