Bug fix: SyntasticReset didn't really reset.

This commit is contained in:
LCD 47 2014-07-22 22:02:42 +03:00
parent d795d4b16a
commit e340796776
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ if has('reltime')
lockvar! g:syntastic_start lockvar! g:syntastic_start
endif endif
let g:syntastic_version = '3.4.0-115' let g:syntastic_version = '3.4.0-116'
lockvar g:syntastic_version lockvar g:syntastic_version
" Sanity checks {{{1 " Sanity checks {{{1

View File

@ -37,7 +37,7 @@ function! g:SyntasticNotifiers.refresh(loclist) " {{{2
if !exists('b:syntastic_' . type . '_stamp') if !exists('b:syntastic_' . type . '_stamp')
let b:syntastic_{type}_stamp = [] let b:syntastic_{type}_stamp = []
endif endif
if a:loclist.isNewerThan(b:syntastic_{type}_stamp) if a:loclist.isNewerThan(b:syntastic_{type}_stamp) || a:loclist.isEmpty()
call self._notifier[type].refresh(a:loclist) call self._notifier[type].refresh(a:loclist)
let b:syntastic_{type}_stamp = syntastic#util#stamp() let b:syntastic_{type}_stamp = syntastic#util#stamp()
endif endif