Skip to content

Commit aa50430

Browse files
committed
eval.txt: Update Vim 9.0.0946
1 parent d5a12ea commit aa50430

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

en/eval.txt

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*eval.txt* For Vim version 9.0. Last change: 2022 Oct 07
1+
*eval.txt* For Vim version 9.0. Last change: 2022 Nov 22
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1548,7 +1548,7 @@ to be doubled. These two commands are equivalent: >
15481548
if a =~ '\s*'
15491549
15501550
1551-
interpolated-string *$quote* *interp-string*
1551+
interpolated-string *$quote* *interpolated-string*
15521552
--------------------
15531553
$"string" interpolated string constant *expr-$quote*
15541554
$'string' interpolated literal string constant *expr-$'*
@@ -2859,7 +2859,7 @@ text...
28592859
does not need to be doubled.
28602860
If "eval" is specified, then any Vim expression in the
28612861
form {expr} is evaluated and the result replaces the
2862-
expression, like with |interp-string|.
2862+
expression, like with |interpolated-string|.
28632863
Example where $HOME is expanded: >
28642864
let lines =<< trim eval END
28652865
some text
@@ -3073,6 +3073,10 @@ text...
30733073
Unlock the internal variable {name}. Does the
30743074
opposite of |:lockvar|.
30753075

3076+
If {name} does not exist:
3077+
- In |Vim9| script an error is given.
3078+
- In legacy script this is silently ignored.
3079+
30763080
:if {expr1} *:if* *:end* *:endif* *:en* *E171* *E579* *E580*
30773081
:en[dif] Execute the commands until the next matching `:else`
30783082
or `:endif` if {expr1} evaluates to non-zero.

0 commit comments

Comments
 (0)