0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

patch 8.2.3970: error messages are spread out

Problem:    Error messages are spread out.
Solution:   Move more errors to errors.h.
This commit is contained in:
Bram Moolenaar
2022-01-01 15:58:22 +00:00
parent 56200eed62
commit 74409f6279
39 changed files with 161 additions and 131 deletions

View File

@@ -3629,7 +3629,7 @@ qf_list(exarg_T *eap)
}
if (!get_list_range(&arg, &idx1, &idx2) || *arg != NUL)
{
semsg(_(e_trailing_arg), arg);
semsg(_(e_trailing_characters_str), arg);
return;
}
qfl = qf_get_curlist(qi);
@@ -6106,7 +6106,7 @@ vgr_process_args(
p = skip_vimgrep_pat(eap->arg, &args->spat, &args->flags);
if (p == NULL)
{
emsg(_(e_invalpat));
emsg(_(e_invalid_search_pattern_or_delimiter));
return FAIL;
}
@@ -8399,7 +8399,7 @@ set_qf_ll_list(
if (list_arg->v_type != VAR_LIST)
emsg(_(e_list_required));
else if (recursive != 0)
emsg(_(e_au_recursive));
emsg(_(e_autocommand_caused_recursive_behavior));
else
{
list_T *l = list_arg->vval.v_list;