Bug fix: SyntasticReset didn't really reset.
This commit is contained in:
parent
d795d4b16a
commit
e340796776
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user