Check for parse errors right after edit
| From: | David Yee | Date: | Mon, 10 May 2004 19:03:59 +0000 |
| Subject: | Check for parse errors right after edit | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-185835@lists.php.net to get a copy of this message | ||
Hi- what's the best way to automatically check for parse errors after
editing a php script with vi or vim? I suppose that "php -l name_of_script"
can be ran after exiting, but I wouldn't want that command to be ran after
running vim everytime. Or maybe there's a plugin for vim that will do this?
Thanks for any input.
David