0
0
mirror of https://github.com/vim/vim.git synced 2025-10-28 09:27:14 -04:00

patch 8.2.3972: error messages are spread out

Problem:    Error messages are spread out.
Solution:   Move the last errors from globals.h to errors.h.
This commit is contained in:
Bram Moolenaar
2022-01-01 16:21:00 +00:00
parent 0699b040e6
commit 3a846e6bca
15 changed files with 61 additions and 49 deletions

View File

@@ -949,7 +949,7 @@ matchadd_dict_arg(typval_T *tv, char_u **conceal_char, win_T **win)
*win = find_win_by_nr_or_id(&di->di_tv);
if (*win == NULL)
{
emsg(_(e_invalwindow));
emsg(_(e_invalid_window_number));
return FAIL;
}
}
@@ -1259,7 +1259,7 @@ f_matchaddpos(typval_T *argvars UNUSED, typval_T *rettv UNUSED)
if (argvars[1].v_type != VAR_LIST)
{
semsg(_(e_listarg), "matchaddpos()");
semsg(_(e_argument_of_str_must_be_list), "matchaddpos()");
return;
}
l = argvars[1].vval.v_list;