Merge pull request #759 from fitztrev/syntastic-errors
Fix Syntastic deprecation warning
This commit is contained in:
commit
0ffe3c9e99
|
@ -22,7 +22,7 @@ def syntastic(pl, err_format='ERR: {first_line} ({num}) ', warn_format='WARN
|
|||
'''
|
||||
if not int(vim.eval('exists("g:SyntasticLoclist")')):
|
||||
return
|
||||
has_errors = int(vim.eval('g:SyntasticLoclist.current().hasErrorsOrWarningsToDisplay()'))
|
||||
has_errors = not int(vim.eval('g:SyntasticLoclist.current().isEmpty()'))
|
||||
if not has_errors:
|
||||
return
|
||||
errors = vim.eval('g:SyntasticLoclist.current().errors()')
|
||||
|
|
Loading…
Reference in New Issue