|
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 |
2 | 2 |
|
3 | 3 |
|
4 | 4 | VIM REFERENCE MANUAL by Bram Moolenaar
|
@@ -1548,7 +1548,7 @@ to be doubled. These two commands are equivalent: >
|
1548 | 1548 | if a =~ '\s*'
|
1549 | 1549 |
|
1550 | 1550 |
|
1551 |
| -interpolated-string *$quote* *interp-string* |
| 1551 | +interpolated-string *$quote* *interpolated-string* |
1552 | 1552 | --------------------
|
1553 | 1553 | $"string" interpolated string constant *expr-$quote*
|
1554 | 1554 | $'string' interpolated literal string constant *expr-$'*
|
@@ -2859,7 +2859,7 @@ text...
|
2859 | 2859 | does not need to be doubled.
|
2860 | 2860 | If "eval" is specified, then any Vim expression in the
|
2861 | 2861 | form {expr} is evaluated and the result replaces the
|
2862 |
| - expression, like with |interp-string|. |
| 2862 | + expression, like with |interpolated-string|. |
2863 | 2863 | Example where $HOME is expanded: >
|
2864 | 2864 | let lines =<< trim eval END
|
2865 | 2865 | some text
|
@@ -3073,6 +3073,10 @@ text...
|
3073 | 3073 | Unlock the internal variable {name}. Does the
|
3074 | 3074 | opposite of |:lockvar|.
|
3075 | 3075 |
|
| 3076 | + If {name} does not exist: |
| 3077 | + - In |Vim9| script an error is given. |
| 3078 | + - In legacy script this is silently ignored. |
| 3079 | + |
3076 | 3080 | :if {expr1} *:if* *:end* *:endif* *:en* *E171* *E579* *E580*
|
3077 | 3081 | :en[dif] Execute the commands until the next matching `:else`
|
3078 | 3082 | or `:endif` if {expr1} evaluates to non-zero.
|
|
0 commit comments