vim syntastic / phpcs关闭'style'错误

时间:2015-07-02 14:41:36

标签: vim configuration syntastic

我正在为vim使用syntastic插件,其中一个跳棋phpcs用“样式”错误向我发送垃圾邮件:

示例错误:

Spaces must be used to indent lines; tabs are not allowed

Line indented incorrectly; expected at least 8 spaces, found 2

无论如何要关闭/过滤这些类型的错误,我只对语法错误感兴趣

1 个答案:

答案 0 :(得分:1)

是的,您可以将其添加到.vimrc:

let g:syntastic_quiet_messages = { "type": "style" }