Syntastic for Vim: What are the required lines in

2020-03-02 03:02发布

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

1条回答
仙女界的扛把子
2楼-- · 2020-03-02 03:49

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.

查看更多
登录 后发表回答