Skip to content

Commit 7a15f11

Browse files
committed
iUpdate vim9.txt (forgotten)
1 parent 93efc0e commit 7a15f11

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

en/vim9.txt

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*vim9.txt* For Vim version 9.1. Last change: 2024 Jan 12
1+
*vim9.txt* For Vim version 9.1. Last change: 2024 Apr 13
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -641,6 +641,14 @@ No command can follow the "{", only a comment can be used there.
641641
The block can also be used for defining a user command. Inside the block Vim9
642642
syntax will be used.
643643

644+
This is an example of using here-docs: >
645+
com SomeCommand {
646+
g:someVar =<< trim eval END
647+
ccc
648+
ddd
649+
END
650+
}
651+
644652
If the statements include a dictionary, its closing bracket must not be
645653
written at the start of a line. Otherwise, it would be parsed as the end of
646654
the block. This does not work: >
@@ -1513,7 +1521,6 @@ Custom types can be defined with `:type`: >
15131521
:type MyList list<string>
15141522
Custom types must start with a capital letter, to avoid name clashes with
15151523
builtin types added later, similarly to user functions.
1516-
{not implemented yet}
15171524

15181525
And classes and interfaces can be used as types: >
15191526
:class MyClass

0 commit comments

Comments
 (0)