Skip to content

Commit

Permalink
vim 7.4.1829 compliance
Browse files Browse the repository at this point in the history
  • Loading branch information
skywind3000 committed Nov 27, 2022
1 parent 1b52a1d commit c277311
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions plugin/asyncrun.vim
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
" Maintainer: skywind3000 (at) gmail.com, 2016-2022
" Homepage: https://github.com/skywind3000/asyncrun.vim
"
" Last Modified: 2022/11/27 21:03
" Last Modified: 2022/11/27 23:31
"
" Run shell command in background and output to quickfix:
" :AsyncRun[!] [options] {cmd} ...
Expand Down Expand Up @@ -409,11 +409,7 @@ endfunc

" find quickfix window and scroll to the bottom then return last window
function! s:AsyncRun_Job_AutoScroll()
if s:async_quick == 0
if &buftype == 'quickfix'
silent exec 'normal! G'
endif
else
if s:async_quick != 0
cbottom
endif
endfunc
Expand Down Expand Up @@ -867,7 +863,7 @@ function! s:AsyncRun_Job_Start(cmd)
if type(t) == type('')
let format = t
elseif type(t) == type(0)
let format = (t != 0)? '%Y/%m/%d %T' : ''
let format = (t != 0)? '%Y/%m/%d %H:%M:%S' : ''
endif
if format != ''
let t = strftime(format, s:async_start)
Expand Down Expand Up @@ -2226,7 +2222,7 @@ endfunc
" asyncrun - version
"----------------------------------------------------------------------
function! asyncrun#version()
return '2.11.8'
return '2.11.9'
endfunc


Expand Down

0 comments on commit c277311

Please sign in to comment.