mirror of
https://github.com/neovim/neovim.git
synced 2025-10-17 23:31:51 +00:00
vim-patch:8.2.1111: inconsistent naming of get_list_tv() and eval_dict() (#23086)
Problem: Inconsistent naming of get_list_tv() and eval_dict().
Solution: Rename get_list_tv() to eval_list(). Similarly for eval_number(),
eval_string(), eval_lit_string() and a few others.
9a78e6df17
Co-authored-by: Bram Moolenaar <Bram@vim.org>
This commit is contained in:
@@ -1722,7 +1722,7 @@ static void f_exists(typval_T *argvars, typval_T *rettv, EvalFuncData fptr)
|
||||
xfree(exp);
|
||||
}
|
||||
} else if (*p == '&' || *p == '+') { // Option.
|
||||
n = (get_option_tv(&p, NULL, true) == OK);
|
||||
n = (eval_option(&p, NULL, true) == OK);
|
||||
if (*skipwhite(p) != NUL) {
|
||||
n = false; // Trailing garbage.
|
||||
}
|
||||
|
Reference in New Issue
Block a user