Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm using vim on mac (both command line & MacVim) and installed the syntastic plugin for syntax error checking. I'm now using it and its standard php syntax_checker for php coding, but if there's more than one error in the php file, only the first error gets marked with the >>. Also the balloon only appears for the first error. Is there an option one can set to show all errors & warnings in a file?

Thank you!

share|improve this question
    
I'm afraid that it's the default behavior of $ php -l filename. You may want to take a look around for another linter… –  romainl Nov 17 '12 at 19:20
add comment

1 Answer 1

Syntastic supports three different checkers for php;

  1. php itself using the -l option
  2. PHP Mess Detector
  3. PHP_CodeSniffer

Try installing 2 or 3.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.