diff options
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/channel.txt | 6 | ||||
-rw-r--r-- | runtime/doc/eval.txt | 11 |
2 files changed, 15 insertions, 2 deletions
diff --git a/runtime/doc/channel.txt b/runtime/doc/channel.txt index c5189727c..1f23042ae 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 Aug 31 +*channel.txt* For Vim version 7.4. Last change: 2016 Sep 01 VIM REFERENCE MANUAL by Bram Moolenaar @@ -501,6 +501,10 @@ A special mode is when "in_top" is set to zero and "in_bot" is not set: Every time a line is added to the buffer, the last-but-one line will be send to the job stdin. This allows for editing the last line and sending it when pressing Enter. + *channel-close-in* +When not using the special mode the pipe or socket will be closed after the +last line has been written. This signals the reading end that the input +finished. You can also use |ch_close_in()| to close it sooner. NUL bytes in the text will be passed to the job (internally Vim stores these as NL bytes). diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index bd495041b..88585621e 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -1,4 +1,4 @@ -*eval.txt* For Vim version 7.4. Last change: 2016 Aug 31 +*eval.txt* For Vim version 7.4. Last change: 2016 Sep 01 VIM REFERENCE MANUAL by Bram Moolenaar @@ -2009,6 +2009,7 @@ call({func}, {arglist} [, {dict}]) any call {func} with arguments {arglist} ceil({expr}) Float round {expr} up ch_close({handle}) none close {handle} +ch_close_in({handle}) none close in part of {handle} ch_evalexpr({handle}, {expr} [, {options}]) any evaluate {expr} on JSON {handle} ch_evalraw({handle}, {string} [, {options}]) @@ -2980,6 +2981,14 @@ confirm({msg} [, {choices} [, {default} [, {type}]]]) ch_close({handle}) *ch_close()* Close {handle}. See |channel-close|. {handle} can be Channel or a Job that has a Channel. + A close callback is not invoked. + + {only available when compiled with the |+channel| feature} + +ch_close_in({handle}) *ch_close_in()* + Close the "in" part of {handle}. See |channel-close-in|. + {handle} can be Channel or a Job that has a Channel. + A close callback is not invoked. {only available when compiled with the |+channel| feature} |