Skip to content

Commit c277311

Browse files
author
skywind3000
committed
vim 7.4.1829 compliance
1 parent 1b52a1d commit c277311

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

plugin/asyncrun.vim

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
" Maintainer: skywind3000 (at) gmail.com, 2016-2022
44
" Homepage: https://github.com/skywind3000/asyncrun.vim
55
"
6-
" Last Modified: 2022/11/27 21:03
6+
" Last Modified: 2022/11/27 23:31
77
"
88
" Run shell command in background and output to quickfix:
99
" :AsyncRun[!] [options] {cmd} ...
@@ -409,11 +409,7 @@ endfunc
409409

410410
" find quickfix window and scroll to the bottom then return last window
411411
function! s:AsyncRun_Job_AutoScroll()
412-
if s:async_quick == 0
413-
if &buftype == 'quickfix'
414-
silent exec 'normal! G'
415-
endif
416-
else
412+
if s:async_quick != 0
417413
cbottom
418414
endif
419415
endfunc
@@ -867,7 +863,7 @@ function! s:AsyncRun_Job_Start(cmd)
867863
if type(t) == type('')
868864
let format = t
869865
elseif type(t) == type(0)
870-
let format = (t != 0)? '%Y/%m/%d %T' : ''
866+
let format = (t != 0)? '%Y/%m/%d %H:%M:%S' : ''
871867
endif
872868
if format != ''
873869
let t = strftime(format, s:async_start)
@@ -2226,7 +2222,7 @@ endfunc
22262222
" asyncrun - version
22272223
"----------------------------------------------------------------------
22282224
function! asyncrun#version()
2229-
return '2.11.8'
2225+
return '2.11.9'
22302226
endfunc
22312227

22322228

0 commit comments

Comments
 (0)