diff options
author | Josh Rahm <joshuarahm@gmail.com> | 2023-11-29 22:39:54 +0000 |
---|---|---|
committer | Josh Rahm <joshuarahm@gmail.com> | 2023-11-29 22:39:54 +0000 |
commit | 21cb7d04c387e4198ca8098a884c78b56ffcf4c2 (patch) | |
tree | 84fe5690df1551f0bb2bdfe1a13aacd29ebc1de7 /runtime/doc/channel.txt | |
parent | d9c904f85a23a496df4eb6be42aa43f007b22d50 (diff) | |
parent | 4a8bf24ac690004aedf5540fa440e788459e5e34 (diff) | |
download | rneovim-colorcolchar.tar.gz rneovim-colorcolchar.tar.bz2 rneovim-colorcolchar.zip |
Merge remote-tracking branch 'upstream/master' into colorcolcharcolorcolchar
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* |