aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/eval/funcs.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-04-14 19:28:39 +0800
committerGitHub <noreply@github.com>2023-04-14 19:28:39 +0800
commit90efe85a99c7986acccc8af370cfb179ae18aeff (patch)
treef80a5e7f251253b030dbb580f135f7419dbe3ecb /src/nvim/eval/funcs.c
parentc15939c1f7479be6c1e0a73126b4d62aece28f74 (diff)
downloadrneovim-90efe85a99c7986acccc8af370cfb179ae18aeff.tar.gz
rneovim-90efe85a99c7986acccc8af370cfb179ae18aeff.tar.bz2
rneovim-90efe85a99c7986acccc8af370cfb179ae18aeff.zip
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. https://github.com/vim/vim/commit/9a78e6df17033223ebdf499f2b02b2538601c52d Co-authored-by: Bram Moolenaar <Bram@vim.org>
Diffstat (limited to 'src/nvim/eval/funcs.c')
-rw-r--r--src/nvim/eval/funcs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/eval/funcs.c b/src/nvim/eval/funcs.c
index 887a4857f6..23d0242ce4 100644
--- a/src/nvim/eval/funcs.c
+++ b/src/nvim/eval/funcs.c
@@ -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.
}