Hi Bram,
On Sat, Apr 21, 2018 at 10:49 AM, Bram Moolenaar <[email protected]> wrote:
>
> Patch 8.0.1742
> Problem: Cannot get a list of all the jobs. Cannot get the command of
> the job.
> Solution: When job_info() is called without an argument return a list of
> jobs. Otherwise, include the command that the job is running.
> (Yegappan Lakshmanan)
> Files: runtime/doc/eval.txt, src/channel.c, src/evalfunc.c,
> src/proto/channel.pro, src/structs.h, src/testdir/test_channel.vim
>
The following update to eval.txt is missing from this patch.
Can you update the eval.txt file with the following changes?
Thanks,
Yegappan
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index 8961a33c0..9b00afb64 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -5392,7 +5392,7 @@ job_getchannel({job})
*job_getchannel()*
<
{only available when compiled with the |+job| feature}
-job_info({job}) *job_info()*
+job_info([{job}]) *job_info()*
Returns a Dictionary with information about {job}:
"status" what |job_status()| returns
"channel" what |job_getchannel()| returns
@@ -5403,6 +5403,9 @@ job_info({job})
*job_info()*
"exit_cb" function to be called on exit
"stoponexit" |job-stoponexit|
+ Without any arguments, returns information about all the jobs
+ in a List.
+
job_setoptions({job}, {options}) *job_setoptions()*
Change options for {job}. Supported are:
"stoponexit" |job-stoponexit|
--
--
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.