patch 8.2.0561: Vim9: cannot split function call in multiple lines
Problem: Vim9: cannot split function call in multiple lines.
Solution: Find more arguments in following lines.
diff --git a/runtime/doc/vim9.txt b/runtime/doc/vim9.txt
index b7b05b4..c7286ec 100644
--- a/runtime/doc/vim9.txt
+++ b/runtime/doc/vim9.txt
@@ -184,6 +184,19 @@
'one',
'two',
]
+And when a dict spans multiple lines: >
+ let mydict = #{
+ one: 1,
+ two: 2,
+ }
+Function call: >
+ let result = Func(
+ arg1,
+ arg2
+ )
+
+Note that "enddef" cannot be used at the start of a continuation line, it ends
+the current function.
No curly braces expansion ~