Explorar el Código

Merge pull request #194 from starcraftman/master

Fix for #193 Missing status when PlugUpdate
Junegunn Choi hace 10 años
padre
commit
cf1f644aa8
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      plug.vim

+ 1 - 1
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