diff options
author | Sean Dewar <seandewar@users.noreply.github.com> | 2021-09-09 08:37:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-09 00:37:59 -0700 |
commit | 4eb1ebbcf703d0b7fe7dcb8d75001878a50fc137 (patch) | |
tree | e2ec7e4598ba587561b22fd15bdad499548f2e10 /runtime/doc/job_control.txt | |
parent | ed0c747788d32961633db41ed224464e515dd2b8 (diff) | |
download | rneovim-4eb1ebbcf703d0b7fe7dcb8d75001878a50fc137.tar.gz rneovim-4eb1ebbcf703d0b7fe7dcb8d75001878a50fc137.tar.bz2 rneovim-4eb1ebbcf703d0b7fe7dcb8d75001878a50fc137.zip |
fix(doc): various fixes #15604
In particular:
- jobwait: omitting {timeout} arg is the same as -1.
- sockconnect: omitting {opts} arg is the same as {}.
- jobsend: obsoleted by chansend; don't mention it in job_control.txt.
- menu_get: add to |functions| table.
[skip ci]
Diffstat (limited to 'runtime/doc/job_control.txt')
-rw-r--r-- | runtime/doc/job_control.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/doc/job_control.txt b/runtime/doc/job_control.txt index bf01e8e266..6a9d865c40 100644 --- a/runtime/doc/job_control.txt +++ b/runtime/doc/job_control.txt @@ -19,7 +19,7 @@ Job Id *job-id* Each job is identified by an integer id, unique for the life of the current Nvim session. Each job-id is a valid |channel-id|: they share the same "key space". Functions like |jobstart()| return job ids; functions like -|jobsend()|, |jobstop()|, |rpcnotify()|, and |rpcrequest()| take job ids. +|jobstop()|, |chansend()|, |rpcnotify()|, and |rpcrequest()| take job ids. Job stdio streams form a |channel| which can send and receive raw bytes or |msgpack-rpc| messages. @@ -28,7 +28,7 @@ Job stdio streams form a |channel| which can send and receive raw bytes or Usage *job-control-usage* To control jobs, use the "job…" family of functions: |jobstart()|, -|jobsend()|, |jobstop()|. +|jobstop()|, etc. Example: > |