File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change 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
2
2
3
3
4
4
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -641,6 +641,14 @@ No command can follow the "{", only a comment can be used there.
641
641
The block can also be used for defining a user command. Inside the block Vim9
642
642
syntax will be used.
643
643
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
+
644
652
If the statements include a dictionary, its closing bracket must not be
645
653
written at the start of a line. Otherwise, it would be parsed as the end of
646
654
the block. This does not work: >
@@ -1513,7 +1521,6 @@ Custom types can be defined with `:type`: >
1513
1521
:type MyList list<string>
1514
1522
Custom types must start with a capital letter, to avoid name clashes with
1515
1523
builtin types added later, similarly to user functions.
1516
- {not implemented yet}
1517
1524
1518
1525
And classes and interfaces can be used as types: >
1519
1526
:class MyClass
You can’t perform that action at this time.
0 commit comments