vim puppet lint 抑制来自语法的警告
vim puppet lint suppress warnings from syntatic
有谁知道如何抑制像这样的警告:
[80chars] line has more than 80 characters
Syntastic 具有通过正则表达式抑制某些警告的功能。有人知道该警告的正则表达式是什么样的吗?
语法示例:
let g:syntastic_quiet_messages = {
\ "!level": "errors",
\ "type": "style",
\ "regex": '\m\[C03\d\d\]',
\ "file:p": ['\m^/usr/include/', '\m\c\.h$'] }
let g:syntastic_quiet_messages = {
\"!level": "errors",
\ "type": "style",
\ "regex": '[80chars] line has more than 80 characters',
\ "file:p": ['\m\c\.p$'] }
有谁知道如何抑制像这样的警告:
[80chars] line has more than 80 characters
Syntastic 具有通过正则表达式抑制某些警告的功能。有人知道该警告的正则表达式是什么样的吗?
语法示例:
let g:syntastic_quiet_messages = {
\ "!level": "errors",
\ "type": "style",
\ "regex": '\m\[C03\d\d\]',
\ "file:p": ['\m^/usr/include/', '\m\c\.h$'] }
let g:syntastic_quiet_messages = {
\"!level": "errors",
\ "type": "style",
\ "regex": '[80chars] line has more than 80 characters',
\ "file:p": ['\m\c\.p$'] }