vim语法/phpcs关闭'style'错误



我正在使用vim的语法插件,其中一个检查人员phpcs向我发送"样式"错误:

错误示例:

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

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

有没有办法关闭/过滤这些类型的错误,我只对语法错误

感兴趣

是的,你可以把它添加到你的.virc:中

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

最新更新