7

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

CharlesB
  • 86,532
  • 28
  • 194
  • 218
stormist
  • 5,709
  • 12
  • 46
  • 65

1 Answers1

4

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.

Amber
  • 507,862
  • 82
  • 626
  • 550
  • 14
    When I issue the command `SyntasticEnable javascript` I get `E492: Not an editor command: SyntasticEnable javascript` – puk Oct 28 '11 at 04:58
  • 2
    I think now its **SyntasticCheck** or if you prefer you can toggle checking by **SyntasticToggleMode** – FUD Dec 24 '12 at 07:33