Fix loclist timestamps for refresh (@blueyed).
This commit is contained in:
parent
9af644dace
commit
3a30321fd0
@ -164,7 +164,7 @@ function! syntastic#util#compareLexi(a, b) abort " {{{2
|
|||||||
return a_element > b_element ? 1 : -1
|
return a_element > b_element ? 1 : -1
|
||||||
endif
|
endif
|
||||||
endfor
|
endfor
|
||||||
" Everything matched, so it is at least the required version.
|
" still here, thus everything matched
|
||||||
return 0
|
return 0
|
||||||
endfunction " }}}2
|
endfunction " }}}2
|
||||||
|
|
||||||
@ -323,11 +323,10 @@ function! syntastic#util#dictFilter(errors, filter) abort " {{{2
|
|||||||
endtry
|
endtry
|
||||||
endfunction " }}}2
|
endfunction " }}}2
|
||||||
|
|
||||||
" Return a [high, low] list of integers, representing the time
|
" Return a [seconds, fractions] list of integers, representing the
|
||||||
" (hopefully high resolution) since program start
|
" (hopefully high resolution) time since program start
|
||||||
" TODO: This assumes reltime() returns a list of integers.
|
|
||||||
function! syntastic#util#stamp() abort " {{{2
|
function! syntastic#util#stamp() abort " {{{2
|
||||||
return reltime(g:_SYNTASTIC_START)
|
return split( split(reltimestr(reltime(g:_SYNTASTIC_START)))[0], '\.' )
|
||||||
endfunction " }}}2
|
endfunction " }}}2
|
||||||
|
|
||||||
" }}}1
|
" }}}1
|
||||||
|
@ -19,7 +19,7 @@ if has('reltime')
|
|||||||
lockvar! g:_SYNTASTIC_START
|
lockvar! g:_SYNTASTIC_START
|
||||||
endif
|
endif
|
||||||
|
|
||||||
let g:_SYNTASTIC_VERSION = '3.6.0-77'
|
let g:_SYNTASTIC_VERSION = '3.6.0-78'
|
||||||
lockvar g:_SYNTASTIC_VERSION
|
lockvar g:_SYNTASTIC_VERSION
|
||||||
|
|
||||||
" Sanity checks {{{1
|
" Sanity checks {{{1
|
||||||
|
Loading…
Reference in New Issue
Block a user