mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
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:
@@ -3275,8 +3275,9 @@ compile_expr7(char_u **arg, cctx_T *cctx)
|
||||
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
|
||||
|
Reference in New Issue
Block a user