mirror of
https://github.com/neovim/neovim.git
synced 2025-09-12 22:38:16 +00:00
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 vim/vim#6634)
ae95a3946b
This commit is contained in:
@@ -5365,7 +5365,7 @@ static int dict_get_tv(char_u **arg, typval_T *rettv, int evaluate)
|
||||
if (eval1(&start, &tv, false) == FAIL) { // recursive!
|
||||
return FAIL;
|
||||
}
|
||||
if (*start == '}') {
|
||||
if (*skipwhite(start) == '}') {
|
||||
return NOTDONE;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user