0
0
mirror of https://github.com/vim/vim.git synced 2025-10-30 09:47:20 -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

@@ -1403,7 +1403,7 @@ ex_match(exarg_T *eap)
if (*end != NUL && !ends_excmd2(end, skipwhite(end + 1)))
{
vim_free(g);
eap->errmsg = ex_errmsg(e_trailing_arg, end);
eap->errmsg = ex_errmsg(e_trailing_characters_str, end);
return;
}
if (*end != *p)