mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-03-22 17:05:42 +08:00
parent
c94e6613b3
commit
93d2b8131f
@ -356,9 +356,10 @@ endfunction
|
|||||||
function! s:pull(repo) abort
|
function! s:pull(repo) abort
|
||||||
let s:pct += 1
|
let s:pct += 1
|
||||||
let s:ui_buf[a:repo.name] = s:pct
|
let s:ui_buf[a:repo.name] = s:pct
|
||||||
let argv = ['git', '-C', a:repo.path, 'pull']
|
let argv = ['git', '-C', a:repo.path, 'pull', '--progress']
|
||||||
if s:JOB.vim_job || s:JOB.nvim_job
|
if s:JOB.vim_job || s:JOB.nvim_job
|
||||||
let jobid = s:JOB.start(argv,{
|
let jobid = s:JOB.start(argv,{
|
||||||
|
\ 'on_stderr' : function('s:on_install_stdout'),
|
||||||
\ 'on_exit' : function('s:on_pull_exit')
|
\ 'on_exit' : function('s:on_pull_exit')
|
||||||
\ })
|
\ })
|
||||||
if jobid != 0
|
if jobid != 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user