Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Syntastic for Vim: What are the required lines in ~/.vimrc? (PHP error checking)

I find the documents frustrating. What are the basic lines I need to add to my config file to get it working?

like image 458
stormist Avatar asked Mar 03 '10 01:03

stormist


1 Answers

Technically, nothing. If you've extracted Syntastic into your .vim directory, try using the :SyntasticEnable command within Vim to enable it for the filetype of the currently open file.

If you want to automatically turn it on for a given filetype, then you'll want to put a...

SyntasticEnable [filetype]

line in your .vimrc where [filetype] is the type of file you want to enable it for.

like image 173
Amber Avatar answered Sep 23 '22 12:09

Amber