Re: [PHP] Check for parse errors right after edit

2004-05-10 Thread Curt Zirzow
* Thus wrote David Yee ([EMAIL PROTECTED]): > 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. O

[PHP] Check for parse errors right after edit

2004-05-10 Thread David Yee
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?