-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP] Async wrapper #4
Conversation
@nelstrom function! s:job_err_cb(name, channel, message) abort
echohl WarningMsg
echom a:name . ': ' . join(a:message, "\n")
echohl None
endfunction |
@prabirshrestha thanks for the advice! |
@prabirshrestha I'm a bit confused about what arguments are provided to the callbacks. In NeoVim, it looks like the callback receives arguments |
async.vim normalizes vim8 to neovim so you get the the same as neovim. |
@nelstrom |
let l:jobtype = '' | ||
|
||
if has_key(a:opts, 'type') | ||
if type(a:opts.type, v:t_string) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i fixed the bug on upstream async.vim. You would want to sync this with latest master.
I created a new PR based on this. See #5. |
Fixes issue #3.