commit
70f8354420
@ -241,7 +241,10 @@ function! s:ModeMapAllowsAutoChecking()
|
|||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! s:BufHasErrorsOrWarningsToDisplay()
|
function! s:BufHasErrorsOrWarningsToDisplay()
|
||||||
return len(s:Errors()) || (!g:syntastic_quiet_warnings && !empty(s:LocList()))
|
if empty(s:LocList())
|
||||||
|
return 0
|
||||||
|
endif
|
||||||
|
return len(s:Errors()) || !g:syntastic_quiet_warnings
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! s:Errors()
|
function! s:Errors()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user