forked from aniani/vim
patch 8.2.1379: curly braces expression ending in " }" does not work
Problem: Curly braces expression ending in " }" does not work. Solution: Skip over white space when checking for "}". (closes #6634)
This commit is contained in:
@@ -817,7 +817,7 @@ eval_dict(char_u **arg, typval_T *rettv, evalarg_T *evalarg, int literal)
|
||||
{
|
||||
if (eval1(&start, &tv, NULL) == FAIL) // recursive!
|
||||
return FAIL;
|
||||
if (*start == '}')
|
||||
if (*skipwhite(start) == '}')
|
||||
return NOTDONE;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user