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

1 view
Skip to first unread message

Christian Brabandt

unread,
Oct 12, 2024, 6:00:13 AM10/12/24
to vim...@googlegroups.com
runtime(doc): mention conversion rules for remote_expr()

Commit: https://github.com/vim/vim/commit/1961cafc998e8c63f4f06b12b496c97c61cc3411
Author: Christian Brabandt <c...@256bit.org>
Date: Sat Oct 12 11:57:12 2024 +0200

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

fixes: https://github.com/vim/vim/issues/15844

Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/runtime/doc/builtin.txt b/runtime/doc/builtin.txt
index 44e9ee019..15de27db5 100644
--- a/runtime/doc/builtin.txt
+++ b/runtime/doc/builtin.txt
@@ -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,
- "
").
+ 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, "
").

If {idvar} is present and not empty, it is taken as the name
of a variable and a {serverid} for later use with
Reply all
Reply to author
Forward
0 new messages