mirror of
https://github.com/neovim/neovim.git
synced 2025-09-19 09:48:19 +00:00
docs: fix typos
This commit is contained in:
@@ -3051,7 +3051,7 @@ static int eval7(char **arg, typval_T *rettv, int evaluate, int want_string)
|
||||
case '#':
|
||||
if ((*arg)[1] == '{') {
|
||||
(*arg)++;
|
||||
ret = dict_get_tv(arg, rettv, evaluate, true);
|
||||
ret = eval_dict(arg, rettv, evaluate, true);
|
||||
} else {
|
||||
ret = NOTDONE;
|
||||
}
|
||||
@@ -3062,7 +3062,7 @@ static int eval7(char **arg, typval_T *rettv, int evaluate, int want_string)
|
||||
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;
|
||||
|
||||
@@ -4595,7 +4595,7 @@ static int get_literal_key(char **arg, typval_T *tv)
|
||||
/// "literal" is true for #{key: val}
|
||||
///
|
||||
/// @return OK or FAIL. Returns NOTDONE for {expr}.
|
||||
static int dict_get_tv(char **arg, typval_T *rettv, int evaluate, bool literal)
|
||||
static int eval_dict(char **arg, typval_T *rettv, int evaluate, bool literal)
|
||||
{
|
||||
typval_T tv;
|
||||
char *key = NULL;
|
||||
|
Reference in New Issue
Block a user