mirror of
https://github.com/vim/vim.git
synced 2025-09-26 04:04:07 -04:00
patch 8.2.0222: Vim9: optional function arguments don't work yet
Problem: Vim9: optional function arguments don't work yet. Solution: Implement optional function arguments.
This commit is contained in:
@@ -200,6 +200,7 @@ get_function_args(
|
||||
{
|
||||
typval_T rettv;
|
||||
|
||||
// find the end of the expression (doesn't evaluate it)
|
||||
any_default = TRUE;
|
||||
p = skipwhite(p) + 1;
|
||||
p = skipwhite(p);
|
||||
|
Reference in New Issue
Block a user