diff options
author | Josh Rahm <joshuarahm@gmail.com> | 2023-11-29 21:52:58 +0000 |
---|---|---|
committer | Josh Rahm <joshuarahm@gmail.com> | 2023-11-29 21:52:58 +0000 |
commit | 931bffbda3668ddc609fc1da8f9eb576b170aa52 (patch) | |
tree | d8c1843a95da5ea0bb4acc09f7e37843d9995c86 /runtime/doc/channel.txt | |
parent | 142d9041391780ac15b89886a54015fdc5c73995 (diff) | |
parent | 4a8bf24ac690004aedf5540fa440e788459e5e34 (diff) | |
download | rneovim-userreg.tar.gz rneovim-userreg.tar.bz2 rneovim-userreg.zip |
Merge remote-tracking branch 'upstream/master' into userreguserreg
Diffstat (limited to 'runtime/doc/channel.txt')
-rw-r--r-- | runtime/doc/channel.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/doc/channel.txt b/runtime/doc/channel.txt index 1c52b2d692..7184151cda 100644 --- a/runtime/doc/channel.txt +++ b/runtime/doc/channel.txt @@ -82,7 +82,7 @@ only bytes can be written to Nvim's own stderr. thus the first and last items in the {data} list may be partial lines. Empty string completes the previous partial line. Examples (not including the final `['']` emitted at EOF): - - `foobar` may arrive as `['fo'], ['obar']` + - `foobar` may arrive as `['fo'], ['obar']` - `foo\nbar` may arrive as - `['foo','bar']` - or `['foo',''], ['bar']` @@ -117,7 +117,7 @@ simple example, echoing some data through a cat-process: call chansend(id, "hello!") < -Here is a example of setting a buffer to the result of grep, but only after +Here is an example of setting a buffer to the result of grep, but only after all data has been processed: >vim function! s:OnEvent(id, data, event) dict @@ -151,7 +151,7 @@ from the host TTY, or if Nvim is |--headless| it uses default values: >vim When channels are opened with the `rpc` option set to true, the channel can be used for remote method calls in both directions, see |msgpack-rpc|. Note that rpc channels are implicitly trusted and the process at the other end can -invoke any |api| function! +invoke any |API| function! ============================================================================== 4. Standard IO channel *channel-stdio* |