Sort syntastic ignore messages and ignore undefined variable errors (as these are often referenced from outside the file)

This commit is contained in:
Kevin MacMartin 2015-03-23 16:38:55 -04:00
parent 16c1630f67
commit 68c54c0813

View file

@ -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