Fix loclist timestamps for refresh (@blueyed).

This commit is contained in:
LCD 47 2015-05-03 19:26:56 +03:00
parent 9af644dace
commit 3a30321fd0
2 changed files with 5 additions and 6 deletions

View File

@ -164,7 +164,7 @@ function! syntastic#util#compareLexi(a, b) abort " {{{2
return a_element > b_element ? 1 : -1
endif
endfor
" Everything matched, so it is at least the required version.
" still here, thus everything matched
return 0
endfunction " }}}2
@ -323,11 +323,10 @@ function! syntastic#util#dictFilter(errors, filter) abort " {{{2
endtry
endfunction " }}}2
" Return a [high, low] list of integers, representing the time
" (hopefully high resolution) since program start
" TODO: This assumes reltime() returns a list of integers.
" Return a [seconds, fractions] list of integers, representing the
" (hopefully high resolution) time since program start
function! syntastic#util#stamp() abort " {{{2
return reltime(g:_SYNTASTIC_START)
return split( split(reltimestr(reltime(g:_SYNTASTIC_START)))[0], '\.' )
endfunction " }}}2
" }}}1

View File

@ -19,7 +19,7 @@ if has('reltime')
lockvar! g:_SYNTASTIC_START
endif
let g:_SYNTASTIC_VERSION = '3.6.0-77'
let g:_SYNTASTIC_VERSION = '3.6.0-78'
lockvar g:_SYNTASTIC_VERSION
" Sanity checks {{{1