1
0
forked from aniani/vim

patch 8.2.4005: error messages are spread out

Problem:    Error messages are spread out.
Solution:   Move more error messages to errors.h.
This commit is contained in:
Bram Moolenaar
2022-01-04 21:30:47 +00:00
parent 548911ee14
commit a6f7929e62
25 changed files with 196 additions and 78 deletions

View File

@@ -447,7 +447,7 @@ init_highlight(
static int recursive = 0;
if (recursive >= 5)
emsg(_("E679: recursive loop loading syncolor.vim"));
emsg(_(e_recursive_loop_loading_syncolor_vim));
else
{
++recursive;
@@ -3443,7 +3443,7 @@ syn_add_group(char_u *name)
{
if (!vim_isprintc(*p))
{
emsg(_("E669: Unprintable character in group name"));
emsg(_(e_unprintable_character_in_group_name));
vim_free(name);
return 0;
}