diff options
Diffstat (limited to 'runtime/doc/eval.txt')
-rw-r--r-- | runtime/doc/eval.txt | 6 |
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 |