From: Hirohito Higashi Date: Wed, 15 Apr 2026 17:00:19 +0000 (+0000) Subject: runtime(doc): Tweak documentation style in channel.txt X-Git-Tag: v9.2.0353~1 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=60e925ca0edf4cb12190cade3a4ae6b07259ca31;p=thirdparty%2Fvim.git runtime(doc): Tweak documentation style in channel.txt closes: #19978 Signed-off-by: Hirohito Higashi Signed-off-by: Christian Brabandt --- diff --git a/runtime/doc/channel.txt b/runtime/doc/channel.txt index b8aaa92768..ce0ceb45be 100644 --- a/runtime/doc/channel.txt +++ b/runtime/doc/channel.txt @@ -1,4 +1,4 @@ -*channel.txt* For Vim version 9.2. Last change: 2026 Apr 14 +*channel.txt* For Vim version 9.2. Last change: 2026 Apr 15 VIM REFERENCE MANUAL by Bram Moolenaar @@ -668,22 +668,22 @@ ch_info({handle}) *ch_info()* ch_listen({address} [, {options}]) *E1573* *E1574* *ch_listen()* Listen on {address} - port on loopback or UNIX domain socket - for incoming channel connections. This creates a server-side - channel, unlike |ch_open()|which connects to an existing server. + for incoming channel connections. This creates a server-side + channel, unlike |ch_open()| which connects to an existing + server. Returns a Channel. Use |ch_status()| to check for failure. {address} is a String, see |channel-address| for the possible accepted forms, however in case of TCP sockets it allows to - set only a port and binds to loopback address for - security reasons. + set only a port and binds to loopback address for security + reasons. Note: IPv6 is not yet supported. If {options} is given it must be a |Dictionary|. See |channel-open-options|. - The "callback" in {options} is invoked when a new - connection is accepted. It receives two arguments: the - new Channel and the client address as a String (e.g. - "127.0.0.1:12345"). + The "callback" in {options} is invoked when a new connection + is accepted. It receives two arguments: the new Channel and + the client address as a String (e.g. "127.0.0.1:12345"). Use |ch_open()| to connect to an existing server instead.