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


Question

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

1
7
1/26/2013 3:36:22 PM

Accepted Answer

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.

4
3/3/2010 1:31:04 AM

Licensed under: CC-BY-SA with attribution
Not affiliated with: Stack Overflow
Icon