I'm using PHP linter to check syntax errors in PHP , right from vim with that command : :!PHP -l "%" when I do that, ( I'm on Windows ) , Windows open another CMD and the result of the parsing is displayed in that window.

Is it possible to get the output of the linter right into vim, either in the bottom of vim or maybe in a readonly buffer at the bottom of my screen ?

link|improve this question
feedback

1 Answer

Try doing ":compiler php", then ":make %". If errors are reported, Vim will jump to the first one. You can also view them by typing ":cwindow" or ":copen". This involves the QuickFix system, see ":help quickfix.txt" to learn more about it.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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