should be a:data

This commit is contained in:
Yasuhiro Matsumoto 2016-10-13 17:07:02 +09:00
parent c7fec95fee
commit 58954425c4

View File

@ -1163,9 +1163,9 @@ function! s:nvim_job_handler(job_id, data, event) abort
endif
if a:event == 'stdout'
call s:job_out_cb(self, a:job_id, data)
call s:job_out_cb(self, a:job_id, a:data)
elseif a:event == 'exit'
call s:job_exit_cb(self, a:job_id, data)
call s:job_exit_cb(self, a:job_id, a:data)
endif
endfunction