mirror of
https://github.com/prurigro/darkcloud-vimconfig.git
synced 2024-11-22 14:44:11 -05:00
Sort syntastic ignore messages and ignore undefined variable errors (as these are often referenced from outside the file)
This commit is contained in:
parent
16c1630f67
commit
68c54c0813
1 changed files with 13 additions and 9 deletions
|
@ -184,16 +184,9 @@ scriptencoding utf-8
|
||||||
endif
|
endif
|
||||||
|
|
||||||
"configure warnings/errors that should be silenced by module
|
"configure warnings/errors that should be silenced by module
|
||||||
let g:syntastic_sh_bashate_quiet_messages={
|
let g:syntastic_less_lessc_quiet_messages={
|
||||||
\ 'regex':[
|
\ 'regex':[
|
||||||
\ 'Indent not multiple of 4'
|
\ 'NameError: variable @[^ ]* is undefined.*'
|
||||||
\ ]}
|
|
||||||
let g:syntastic_sh_shellcheck_quiet_messages={
|
|
||||||
\ 'regex':[
|
|
||||||
\ '.*\[SC1001\]',
|
|
||||||
\ '.*\[SC2016\]',
|
|
||||||
\ '.*\[SC2029\]',
|
|
||||||
\ '.*\[SC2034\]'
|
|
||||||
\ ]}
|
\ ]}
|
||||||
let g:syntastic_java_javac_quiet_messages={
|
let g:syntastic_java_javac_quiet_messages={
|
||||||
\ 'regex':[
|
\ 'regex':[
|
||||||
|
@ -206,6 +199,17 @@ scriptencoding utf-8
|
||||||
\ '.*\[W293\]',
|
\ '.*\[W293\]',
|
||||||
\ '.*\[E501\]'
|
\ '.*\[E501\]'
|
||||||
\ ]}
|
\ ]}
|
||||||
|
let g:syntastic_sh_bashate_quiet_messages={
|
||||||
|
\ 'regex':[
|
||||||
|
\ 'Indent not multiple of 4'
|
||||||
|
\ ]}
|
||||||
|
let g:syntastic_sh_shellcheck_quiet_messages={
|
||||||
|
\ 'regex':[
|
||||||
|
\ '.*\[SC1001\]',
|
||||||
|
\ '.*\[SC2016\]',
|
||||||
|
\ '.*\[SC2029\]',
|
||||||
|
\ '.*\[SC2034\]'
|
||||||
|
\ ]}
|
||||||
autocmd BufNewFile,BufRead PKGBUILD,bash.bashrc,.bashrc let g:syntastic_quiet_messages={"level":"warnings"}
|
autocmd BufNewFile,BufRead PKGBUILD,bash.bashrc,.bashrc let g:syntastic_quiet_messages={"level":"warnings"}
|
||||||
|
|
||||||
let g:syntastic_check_on_wq=0
|
let g:syntastic_check_on_wq=0
|
||||||
|
|
Loading…
Reference in a new issue