Set out_mode to raw for progress report

This commit is contained in:
Junegunn Choi 2016-10-17 17:52:13 +09:00
parent 759103d074
commit 6bff19c2a9
No known key found for this signature in database
GPG key ID: 254BC280FEF9C627

View file

@ -1177,7 +1177,8 @@ function! s:spawn(name, cmd, opts)
elseif s:vim8
let jid = job_start(argv, {
\ 'callback': function('s:vim8_cb', ['s:job_out_cb', job]),
\ 'exit_cb': function('s:vim8_cb', ['s:job_exit_cb', job])
\ 'exit_cb': function('s:vim8_cb', ['s:job_exit_cb', job]),
\ 'out_mode': 'raw'
\})
if job_status(jid) == 'run'
let job.jobid = jid