Mercurial > vim
diff src/vim9compile.c @ 20015:c001ee73519a v8.2.0563
patch 8.2.0563: Vim9: cannot split a function line
Commit: https://github.com/vim/vim/commit/5e774c7579a4a00d3f44fdcfcb56861bd73372e4
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Apr 12 21:53:00 2020 +0200
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.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 12 Apr 2020 22:00:04 +0200 |
parents | bf377a9ffccb |
children | e9af5a09a55b |
line wrap: on
line diff
--- a/src/vim9compile.c +++ b/src/vim9compile.c @@ -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