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

patch 8.2.3190: error messages are spread out

Problem:    Error messages are spread out.
Solution:   Move error messages to errors.h and give them a clear name.
This commit is contained in:
Bram Moolenaar
2021-07-20 21:07:36 +02:00
parent 9fa5dabedc
commit e29a27f6f8
29 changed files with 127 additions and 98 deletions

View File

@@ -64,7 +64,7 @@ match_add(
}
if ((hlg_id = syn_namen2id(grp, (int)STRLEN(grp))) == 0)
{
semsg(_(e_nogroup), grp);
semsg(_(e_no_such_highlight_group_name_str), grp);
return -1;
}
if (pat != NULL && (regprog = vim_regcomp(pat, RE_MAGIC)) == NULL)