On Sunday, February 7, 2016 at 9:19:50 PM UTC+1, Bram Moolenaar wrote:
> Björn Linse wrote:
>
> I didn't spend much time on it, but I failed to see what messages are
> exchanged between NeoVim and a plugin. It mentions using an API and
> generating docs for that... Since the messages are binary, it's
> impossible to use them without the msgpack library. Makes debugging
> difficult.
Maybe, but I was primarily referring to just the basic job functionality that
this patch implements. For instance, a basic neovim example that just
roundtrips some data over cat:
function! s:JobHandler(job_id, data, event)
call append(line('$'), a:data)
endfunction
let job1 = jobstart(['cat'], {'on_stdout': function('s:JobHandler')})
call jobsend(job1, ['some', 'text',''])
call jobclose(job1, 'stdin')
some more documentation here https://neovim.io/doc/user/job_control.html
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.