mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.2.1068: Vim9: no line break allowed inside a dict
Problem: Vim9: no line break allowed inside a dict. Solution: Handle line break inside a dict in Vim9 script.
This commit is contained in:
@@ -2787,7 +2787,7 @@ eval7(
|
||||
case '#': if ((*arg)[1] == '{')
|
||||
{
|
||||
++*arg;
|
||||
ret = eval_dict(arg, rettv, flags, TRUE);
|
||||
ret = eval_dict(arg, rettv, evalarg, TRUE);
|
||||
}
|
||||
else
|
||||
ret = NOTDONE;
|
||||
@@ -2799,7 +2799,7 @@ eval7(
|
||||
*/
|
||||
case '{': ret = get_lambda_tv(arg, rettv, evaluate);
|
||||
if (ret == NOTDONE)
|
||||
ret = eval_dict(arg, rettv, flags, FALSE);
|
||||
ret = eval_dict(arg, rettv, evalarg, FALSE);
|
||||
break;
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user