patch 8.2.0563: Vim9: cannot split a function line
Problem: Vim9: cannot split a function line. Solution: Continue in next line so long as the function isn't done.
This commit is contained in:
@ -210,6 +210,13 @@ possible AFTER the operators. For example: >
|
||||
Note that "enddef" cannot be used at the start of a continuation line, it ends
|
||||
the current function.
|
||||
|
||||
It is also possible to split a function header over multiple lines, in between
|
||||
arguments: >
|
||||
def MyFunc(
|
||||
text: string,
|
||||
separator = '-'
|
||||
): string
|
||||
|
||||
|
||||
No curly braces expansion ~
|
||||
|
||||
|
||||
Reference in New Issue
Block a user