1
0
forked from aniani/vim

runtime(doc): mention conversion rules for remote_expr()

fixes: #15844

Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Christian Brabandt 2024-10-12 11:57:12 +02:00
parent eac806bf0b
commit 1961cafc99
No known key found for this signature in database
GPG Key ID: F3F92DA383FDDE09

View File

@ -1,4 +1,4 @@
*builtin.txt* For Vim version 9.1. Last change: 2024 Oct 09
*builtin.txt* For Vim version 9.1. Last change: 2024 Oct 12
VIM REFERENCE MANUAL by Bram Moolenaar
@ -8529,10 +8529,10 @@ remote_expr({server}, {string} [, {idvar} [, {timeout}]])
string, also see |{server}|.
The string is sent as an expression and the result is returned
after evaluation. The result must be a String or a |List|. A
|List| is turned into a String by joining the items with a
line break in between (not at the end), like with join(expr,
"\n").
after evaluation. The result must be a String or a |List|
other types will be converted to String. A |List| is turned
into a String by joining the items with a line break in
between (not at the end), like with join(expr, "\n").
If {idvar} is present and not empty, it is taken as the name
of a variable and a {serverid} for later use with