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.
This commit is contained in:
Bram Moolenaar
2020-04-12 20:19:16 +02:00
parent 2196bce56f
commit e6085c5350
4 changed files with 75 additions and 47 deletions

View File

@ -184,6 +184,19 @@ example, when a list spans multiple lines: >
'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 ~