mirror of
https://github.com/junegunn/vim-plug.git
synced 2024-12-24 13:07:36 -07:00
Merge pull request #194 from starcraftman/master
Fix for #193 Missing status when PlugUpdate
This commit is contained in:
commit
cf1f644aa8
2
plug.vim
2
plug.vim
@ -849,7 +849,7 @@ function! s:job_handler(name) abort
|
|||||||
call s:reap(a:name)
|
call s:reap(a:name)
|
||||||
call s:tick()
|
call s:tick()
|
||||||
else
|
else
|
||||||
let job.result .= s:to_s(v:job_data[2])
|
let job.result .= substitute(s:to_s(v:job_data[2]), '[\r\n]', '', 'g') . "\n"
|
||||||
" To reduce the number of buffer updates
|
" To reduce the number of buffer updates
|
||||||
let job.tick = get(job, 'tick', -1) + 1
|
let job.tick = get(job, 'tick', -1) + 1
|
||||||
if job.tick % len(s:jobs) == 0
|
if job.tick % len(s:jobs) == 0
|
||||||
|
Loading…
Reference in New Issue
Block a user