summaryrefslogtreecommitdiff
path: root/src/highlight.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-01-04 21:30:47 +0000
committerBram Moolenaar <Bram@vim.org>2022-01-04 21:30:47 +0000
commita6f7929e62c19a6a2418a016b4c59b83eb1887ac (patch)
treedff539628404695bd64e68602c8f7f62d9dd12f7 /src/highlight.c
parent548911ee145cdd166f20e46aa720d1631e66f64e (diff)
downloadvim-git-a6f7929e62c19a6a2418a016b4c59b83eb1887ac.tar.gz
patch 8.2.4005: error messages are spread outv8.2.4005
Problem: Error messages are spread out. Solution: Move more error messages to errors.h.
Diffstat (limited to 'src/highlight.c')
-rw-r--r--src/highlight.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/highlight.c b/src/highlight.c
index 253ed5bf2..484634bf9 100644
--- a/src/highlight.c
+++ b/src/highlight.c
@@ -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;
}