aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrew Neil <andrew.jr.neil@gmail.com>2017-05-22 15:57:16 +0100
committerJustin M. Keyes <justinkz@gmail.com>2017-05-22 16:57:16 +0200
commit170d8af3979639dfeb6d40edde283ac98c1d377c (patch)
treec8f24438c78adc30de3a06e44a882e840d30308b
parentdb0159be26dc8af1fa2e6d36bf92037965ad3465 (diff)
downloadrneovim-170d8af3979639dfeb6d40edde283ac98c1d377c.tar.gz
rneovim-170d8af3979639dfeb6d40edde283ac98c1d377c.tar.bz2
rneovim-170d8af3979639dfeb6d40edde283ac98c1d377c.zip
doc: on_stdout, on_stderr, onexit (#6761)
-rw-r--r--runtime/doc/eval.txt6
-rw-r--r--runtime/doc/job_control.txt1
2 files changed, 4 insertions, 3 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index bc75ee4bbc..f076458fed 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -4881,9 +4881,9 @@ jobstart({cmd}[, {opts}]) {Nvim} *jobstart()*
unless cmd[0] is some form of "cmd.exe".
{opts} is a dictionary with these keys:
- on_stdout: stdout event handler (function name or |Funcref|)
- on_stderr: stderr event handler (function name or |Funcref|)
- on_exit : exit event handler (function name or |Funcref|)
+ |on_stdout|: stdout event handler (function name or |Funcref|)
+ |on_stderr|: stderr event handler (function name or |Funcref|)
+ |on_exit| : exit event handler (function name or |Funcref|)
cwd : Working directory of the job; defaults to
|current-directory|.
rpc : If set, |msgpack-rpc| will be used to communicate
diff --git a/runtime/doc/job_control.txt b/runtime/doc/job_control.txt
index 5f9654d83c..da592d6eb0 100644
--- a/runtime/doc/job_control.txt
+++ b/runtime/doc/job_control.txt
@@ -75,6 +75,7 @@ Here's what is happening:
- The `JobHandler()` function is a callback passed to |jobstart()| to handle
various job events. It takes care of displaying stdout/stderr received from
the shells.
+ *on_stdout* *on_stderr* *on_exit*
- The arguments passed to `JobHandler()` are:
0: The job id