wsdjeg / .SpaceVim.d

My dotfiles for Archlinux and Windows
1.44k stars 133 forks source link

Add job func #58

Closed wsdjeg closed 8 years ago

wsdjeg commented 8 years ago

@prabirshrestha I just write a script for vim and neovim job feature, I have read you plugin, but as I know there is no func named job_send() in vim.

https://github.com/prabirshrestha/async.vim

prabirshrestha commented 8 years ago

It used to work in the vim patch I had. Seems like the api has changed since. I couldn't find job_send in vim. Most likely got replaced with ch_sendraw and ch_readraw.

Here is an example. That uses it.

https://github.com/vim/vim/blob/7ef3810d28b7ab2edbfcafab3fe8ad8bc2c2f138/src/testdir/test_channel.vim#L482-L509

wsdjeg commented 8 years ago

@prabirshrestha got it, thanks a lot!

prabirshrestha commented 7 years ago

@wsdjeg fixed while refactoring. Tested it on both vim and neovim. https://github.com/prabirshrestha/async.vim/pull/3 Although I temporarily removed system fallback

wsdjeg commented 7 years ago

@prabirshrestha nice work, will have a look.