开发者

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

开发者 https://www.devze.com 2022-12-21 14:53 出处:网络
I find the documents frustrating. What are the basic lines I need to add to my config file to get开发者_StackOverflow中文版 it working?Technically, nothing. If you\'ve extracted Syntastic into your .v

I find the documents frustrating. What are the basic lines I need to add to my config file to get开发者_StackOverflow中文版 it working?


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号