Remove deprecation warning for hasErrorsOrWarningsToDisplay().
Detecting whether hasErrorsOrWarningsToDisplay() is the same as !isEmpty() can't be done reliably. Just leave it alone for now.
This commit is contained in:
parent
d629be9e8d
commit
c78cf647a3
@ -85,8 +85,9 @@ function! g:SyntasticLoclist.warnings()
|
||||
return self._cachedWarnings
|
||||
endfunction
|
||||
|
||||
" Legacy function. Syntastic no longer calls it, but we keep it
|
||||
" around because other plugins (f.i. powerline) depend on it.
|
||||
function! g:SyntasticLoclist.hasErrorsOrWarningsToDisplay()
|
||||
call syntastic#log#deprecationWarn('function hasErrorsOrWarningsToDisplay() is deprecated, please use !isEmpty() instead')
|
||||
return !self.isEmpty()
|
||||
endfunction
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user