sponsor Vim development Vim logo Vim Book Ad

php_check_syntax.vim : Check the syntax when saving or reading a php file

 script karma  Rating 18/6, Downloaded by 1980  Comments, bugs, improvements  Vim wiki

created by
Tom Link
 
script type
ftplugin
 
description
This plugin is superseded by vimscript #1431.

This ftplugin is based on Klaus Horsten's php_console (vimscript #779). In
opposition to php_console, it only checks the syntax. It does this automatically
when opening or closing a file.

If you use this as a ftplugin, the script will miss the first BufRead event
as this is when it's being loaded.

If php isn't in your path, set the g:php_check_syntax_cmd variable
(including the -l switch).
 
install details
Save this file either in ~/.vim/ftplugin/php/ or ~/.vim/plugin/.


Also available via git
http://github.com/tomtom/vimtlib/tree/master
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
php_check_syntax.vim 0.2 2005-05-04 6.0 Tom Link Reset makeprg & errorformat to its initial value. Don't set shellpipe.
ip used for rating: 142.132.191.50

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github