summaryrefslogtreecommitdiffstats
path: root/src/errors.h
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-01-17 20:54:49 +0100
committerChristian Brabandt <cb@256bit.org>2024-01-17 21:07:08 +0100
commit6a8d2e1634f8f0d7463a2786dbcbe0f38dd287a7 (patch)
tree47681288dc7fd7efe9b1ade01e157f10d48e0d6f /src/errors.h
parent4ea37f88e8345ca830271636a2e197a1a46114d2 (diff)
patch 9.1.0039: too vague errors for 'listchars'/'fillchars'v9.1.0039
Problem: too vague errors for 'listchars'/'fillchars' Solution: Include the field name in error message. (zeertzjq) related: neovim/neovim#27050 closes: #13877 Co-authored-by: Cole Frankenhoff <cole.nhf@gmail.com> Signed-off-by: zeertzjq <zeertzjq@outlook.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'src/errors.h')
-rw-r--r--src/errors.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/errors.h b/src/errors.h
index dfb6ce644d..bfa49292cf 100644
--- a/src/errors.h
+++ b/src/errors.h
@@ -3602,3 +3602,7 @@ EXTERN char e_xattr_other[]
INIT(= N_("E1509: Error occurred when reading or writing extended attribute"));
EXTERN char e_val_too_large[]
INIT(= N_("E1510: Value too large: %s"));
+EXTERN char e_wrong_number_of_characters_for_field_str[]
+ INIT(= N_("E1511: Wrong number of characters for field \"%s\""));
+EXTERN char e_wrong_character_width_for_field_str[]
+ INIT(= N_("E1512: Wrong character width for field \"%s\""));