aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/eval.txt
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-04-15 19:11:29 +0800
committerzeertzjq <zeertzjq@outlook.com>2023-04-15 19:13:58 +0800
commit57221e0d11d1c24bc2abada7559a1d20c5090b62 (patch)
tree3e04748f05198e3e971e386bf6270cbc65d79413 /runtime/doc/eval.txt
parent9f1d33307270e7d013896aea6042b73d091078f5 (diff)
downloadrneovim-57221e0d11d1c24bc2abada7559a1d20c5090b62.tar.gz
rneovim-57221e0d11d1c24bc2abada7559a1d20c5090b62.tar.bz2
rneovim-57221e0d11d1c24bc2abada7559a1d20c5090b62.zip
vim-patch:b59ae59a5870
Update runtime files https://github.com/vim/vim/commit/b59ae59a58706e454ef8c78276f021b1f58466e7 Co-authored-by: Bram Moolenaar <Bram@vim.org>
Diffstat (limited to 'runtime/doc/eval.txt')
-rw-r--r--runtime/doc/eval.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index dd9137649d..1ff6e3c360 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -1407,7 +1407,7 @@ to be doubled. These two commands are equivalent: >
------------------------------------------------------------------------------
-interpolated-string *interp-string*
+interpolated-string *$quote* *interpolated-string*
$"string" interpolated string constant *expr-$quote*
$'string' interpolated literal string constant *expr-$'*
@@ -2578,10 +2578,10 @@ text...
If "eval" is not specified, then each line of text is
used as a |literal-string|, except that single quotes
- doe not need to be doubled.
+ does not need to be doubled.
If "eval" is specified, then any Vim expression in the
form {expr} is evaluated and the result replaces the
- expression, like with |interp-string|.
+ expression, like with |interpolated-string|.
Example where $HOME is expanded: >
let lines =<< trim eval END
some text