mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.2.0084: complete item "user_data" can only be a string
Problem: Complete item "user_data" can only be a string. Solution: Accept any type of variable. (closes #5412)
This commit is contained in:
@@ -2656,7 +2656,7 @@ eval7(
|
||||
case '#': if ((*arg)[1] == '{')
|
||||
{
|
||||
++*arg;
|
||||
ret = dict_get_tv(arg, rettv, evaluate, TRUE);
|
||||
ret = eval_dict(arg, rettv, evaluate, TRUE);
|
||||
}
|
||||
else
|
||||
ret = NOTDONE;
|
||||
@@ -2668,7 +2668,7 @@ eval7(
|
||||
*/
|
||||
case '{': ret = get_lambda_tv(arg, rettv, evaluate);
|
||||
if (ret == NOTDONE)
|
||||
ret = dict_get_tv(arg, rettv, evaluate, FALSE);
|
||||
ret = eval_dict(arg, rettv, evaluate, FALSE);
|
||||
break;
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user