Closed ghost closed 8 years ago
I tested with your test.php and it works. Maybe the file type is not detected by vim so the linter class may not be loaded. Set the file type manually when you open that php file with :set ft=php
and save the file with :w
or put //vim:ft=php
in the beginning line of test.php and open it again.
It's something related to my vimrc.
I've tried with an empty vimrc and I can confirm it works!
DISCLAIMER: I'm not a python developer, and I've never wrote python code before
I'm just a web developer who really likes this plugin. I've tried to add the support for the php build-in linter (
php -l file.php
).I've created a class
Php
looking at the other linter. Unfortunately, when I open php files in vim (even with obvious syntax error) and nothings happens.I've tested the regexp online at pythex.org and it seems to work.
Example of output:
example of the output at pythex.org
What could be done to make this works?