summaryrefslogtreecommitdiffstats
path: root/runtime/doc/channel.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-02-07 14:27:38 +0100
committerBram Moolenaar <Bram@vim.org>2016-02-07 14:27:38 +0100
commit835dc636a5350f610b62f110227d2363b5b2880a (patch)
treed14dbbe08553b530c8fd593844a34c244a05677d /runtime/doc/channel.txt
parentc5f98ee987ae0c369867cf6cc581c766d3c0226d (diff)
patch 7.4.1274v7.4.1274
Problem: Cannot run a job. Solution: Add job_start(), job_status() and job_stop(). Currently only works for Unix.
Diffstat (limited to 'runtime/doc/channel.txt')
-rw-r--r--runtime/doc/channel.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/runtime/doc/channel.txt b/runtime/doc/channel.txt
index 0bc98f191e..855fda378a 100644
--- a/runtime/doc/channel.txt
+++ b/runtime/doc/channel.txt
@@ -1,4 +1,4 @@
-*channel.txt* For Vim version 7.4. Last change: 2016 Feb 05
+*channel.txt* For Vim version 7.4. Last change: 2016 Feb 06
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -93,7 +93,7 @@ The default is zero, don't wait, which is useful if the server is supposed to
be running already. A negative number waits forever.
"timeout" is the time to wait for a request when blocking, using
-ch_sendexpr(). Again in millisecons. The default si 2000 (2 seconds).
+ch_sendexpr(). Again in milliseconds. The default is 2000 (2 seconds).
When "mode" is "json" the "msg" argument is the body of the received message,
converted to Vim types.
@@ -104,13 +104,13 @@ possible to receive a message after sending one.
The handler can be added or changed later: >
call ch_setcallback(handle, {callback})
-When "callback is empty (zero or an empty string) the handler is removed.
+When "callback" is empty (zero or an empty string) the handler is removed.
NOT IMPLEMENTED YET
The timeout can be changed later: >
call ch_settimeout(handle, {msec})
NOT IMPLEMENTED YET
-
+ *E906*
Once done with the channel, disconnect it like this: >
call ch_close(handle)