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.
diff --git a/src/vim9compile.c b/src/vim9compile.c
index 7e7ecb8..e39ddee 100644
--- a/src/vim9compile.c
+++ b/src/vim9compile.c
@@ -3275,8 +3275,9 @@
char_u *start = skipwhite(*arg + 1);
// Find out what comes after the arguments.
+ // TODO: pass getline function
ret = get_function_args(&start, '-', NULL,
- NULL, NULL, NULL, TRUE);
+ NULL, NULL, NULL, TRUE, NULL, NULL);
if (ret != FAIL && *start == '>')
ret = compile_lambda(arg, cctx);
else