aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/msgpack_rpc
diff options
context:
space:
mode:
authorThiago de Arruda <tpadilha84@gmail.com>2015-03-25 23:11:05 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2015-03-29 20:35:44 -0300
commit6e7757ad51dfe3b2de857ff8a8688718ff6115ac (patch)
treec8fa74f8960ccd84eb8c8f6272ef52c036abce50 /src/nvim/msgpack_rpc
parent4b98ea1e80bf886e23500004e27799384c0af135 (diff)
downloadrneovim-6e7757ad51dfe3b2de857ff8a8688718ff6115ac.tar.gz
rneovim-6e7757ad51dfe3b2de857ff8a8688718ff6115ac.tar.bz2
rneovim-6e7757ad51dfe3b2de857ff8a8688718ff6115ac.zip
eval: Refactor vimscript job control API
- Remove JobActivity autocmd and v:job_data variable - Simplify `jobstart` to receive: - An argument vector - An optional dictionary which may contain any of the current `jobstart` options plus `on_stdout`, `on_stderr` and `on_exit` callbacks. - Refactor and add more job tests - Update documentation
Diffstat (limited to 'src/nvim/msgpack_rpc')
-rw-r--r--src/nvim/msgpack_rpc/channel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/msgpack_rpc/channel.c b/src/nvim/msgpack_rpc/channel.c
index e8dab05ba0..b1f0798528 100644
--- a/src/nvim/msgpack_rpc/channel.c
+++ b/src/nvim/msgpack_rpc/channel.c
@@ -347,7 +347,7 @@ static void job_err(RStream *rstream, void *data, bool eof)
}
}
-static void job_exit(Job *job, void *data)
+static void job_exit(Job *job, int status, void *data)
{
decref(data);
}