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
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.
641641The block can also be used for defining a user command. Inside the block Vim9
642642syntax 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
645653written at the start of a line. Otherwise, it would be parsed as the end of
646654the 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
15151523builtin types added later, similarly to user functions.
1516- {not implemented yet}
15171524
15181525And classes and interfaces can be used as types: >
15191526 :class MyClass
You can’t perform that action at this time.
0 commit comments