mirror of
https://github.com/neovim/neovim.git
synced 2025-10-07 18:36:30 +00:00
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
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user