Skip to content

Commit c256a3c

Browse files
committed
channel.txt: Update Vim 8.2.5167
1 parent ab1be75 commit c256a3c

File tree

1 file changed

+5
-34
lines changed

1 file changed

+5
-34
lines changed

en/channel.txt

Lines changed: 5 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*channel.txt* For Vim version 8.2. Last change: 2022 Jun 04
1+
*channel.txt* For Vim version 8.2. Last change: 2022 Jun 23
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -464,8 +464,10 @@ a close callback to the channel.
464464

465465
To read all normal output from a RAW channel that is available: >
466466
let output = ch_readraw(channel)
467-
To read the error output: >
467+
To read all error output from a RAW channel that is available:: >
468468
let output = ch_readraw(channel, {"part": "err"})
469+
Note that if the channel is in NL mode, ch_readraw() will only return one line
470+
for each call.
469471

470472
ch_read() and ch_readraw() use the channel timeout. When there is nothing to
471473
read within that time an empty string is returned. To specify a different
@@ -1552,36 +1554,5 @@ The "params" field is optional: >
15521554
"params": <list|dict>
15531555
}
15541556
1555-
Depending on the use case, you can use the ch_evalexpr(), ch_sendexpr() and
1556-
ch_sendraw() functions on the same channel.
1557-
1558-
A LSP request message has the following format (expressed as a Vim Dict). The
1559-
"params" field is optional: >
1560-
1561-
{
1562-
"jsonrpc": "2.0",
1563-
"id": <number>,
1564-
"method": <string>,
1565-
"params": <list|dict>
1566-
}
1567-
1568-
A LSP response message has the following format (expressed as a Vim Dict). The
1569-
"result" and "error" fields are optional: >
1570-
1571-
{
1572-
"jsonrpc": "2.0",
1573-
"id": <number>,
1574-
"result": <vim type>
1575-
"error": <dict>
1576-
}
1577-
1578-
A LSP notification message has the following format (expressed as a Vim Dict).
1579-
The "params" field is optional: >
1580-
1581-
{
1582-
"jsonrpc": "2.0",
1583-
"method": <string>,
1584-
"params": <list|dict>
1585-
}
1586-
1557+
<
15871558
vim:tw=78:ts=8:noet:ft=help:norl:

0 commit comments

Comments
 (0)