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:
LCD 47 2014-01-22 23:19:21 +02:00
parent d629be9e8d
commit c78cf647a3

View File

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