|
1 |
| -*eval.txt* For Vim version 8.2. Last change: 2022 Jun 03 |
| 1 | +*eval.txt* For Vim version 8.2. Last change: 2022 Jun 17 |
2 | 2 |
|
3 | 3 |
|
4 | 4 | VIM REFERENCE MANUAL by Bram Moolenaar
|
@@ -181,7 +181,7 @@ You will not get an error if you try to change the type of a variable.
|
181 | 181 |
|
182 | 182 |
|
183 | 183 | 1.2 Function references ~
|
184 |
| - *Funcref* *E695* *E718* *E1192* |
| 184 | + *Funcref* *E695* *E718* *E1192* |
185 | 185 | A Funcref variable is obtained with the |function()| function, the |funcref()|
|
186 | 186 | function, (in |Vim9| script) the name of a function, or created with the
|
187 | 187 | lambda expression |expr-lambda|. It can be used in an expression in the place
|
@@ -531,7 +531,7 @@ entry. Note that the String '04' and the Number 04 are different, since the
|
531 | 531 | Number will be converted to the String '4', leading zeros are dropped. The
|
532 | 532 | empty string can also be used as a key.
|
533 | 533 |
|
534 |
| -In |Vim9| script literally keys can be used if the key consists of alphanumeric |
| 534 | +In |Vim9| script a literal key can be used if it consists only of alphanumeric |
535 | 535 | characters, underscore and dash, see |vim9-literal-dict|.
|
536 | 536 | *literal-Dict* *#{}*
|
537 | 537 | To avoid having to put quotes around every key the #{} form can be used in
|
@@ -1289,7 +1289,7 @@ Generally, if a |List| index is equal to or higher than the length of the
|
1289 | 1289 | error.
|
1290 | 1290 |
|
1291 | 1291 |
|
1292 |
| -expr10[expr1a : expr1b] substring or sublist *expr-[:]* |
| 1292 | +expr10[expr1a : expr1b] substring or |sublist| *expr-[:]* *substring* |
1293 | 1293 |
|
1294 | 1294 | If expr10 is a String this results in the substring with the bytes or
|
1295 | 1295 | characters from expr1a to and including expr1b. expr10 is used as a String,
|
@@ -3287,7 +3287,7 @@ text...
|
3287 | 3287 |
|
3288 | 3288 | If "eval" is not specified, then each line of text is
|
3289 | 3289 | used as a |literal-string|, except that single quotes
|
3290 |
| - doe not need to be doubled. |
| 3290 | + does not need to be doubled. |
3291 | 3291 | If "eval" is specified, then any Vim expression in the
|
3292 | 3292 | form {expr} is evaluated and the result replaces the
|
3293 | 3293 | expression, like with |interp-string|.
|
|
0 commit comments