Mercurial > vim
changeset 36295:d4ac33a37ad8 draft
runtime(doc): mention conversion rules for remote_expr()
Commit: https://github.com/vim/vim/commit/1961cafc998e8c63f4f06b12b496c97c61cc3411
Author: Christian Brabandt <cb@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 <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 12 Oct 2024 12:00:05 +0200 |
parents | c84c0b3ecaa8 |
children | 4106acc8fb31 |
files | runtime/doc/builtin.txt |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- 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 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