Fix for #193 Missing status when PlugUpdate

This commit is contained in:
Jeremy Pallats/starcraft.man 2015-03-22 15:41:41 -04:00
parent cbaf4f3088
commit 8da3942484

View File

@ -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