summaryrefslogtreecommitdiffstats
path: root/src/errors.h
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2021-10-20 11:01:15 +0100
committerBram Moolenaar <Bram@vim.org>2021-10-20 11:01:15 +0100
commit94358a1e6e640ca5ebeb295efdddd4e92b700673 (patch)
tree81179f39149f91396d2c5af7c70ed758c326fbce /src/errors.h
parent051a40c8d91d4595c69a27375f739367d806a475 (diff)
patch 8.2.3545: setcellwidths() may make 'listchars' or 'fillchars' invalidv8.2.3545
Problem: setcellwidths() may make 'listchars' or 'fillchars' invalid. Solution: Check the value and give an error. (closes #9024)
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 12d00b724a..96a9b2fc93 100644
--- a/src/errors.h
+++ b/src/errors.h
@@ -160,6 +160,10 @@ EXTERN char e_list_value_does_not_have_enough_items[]
INIT(= N_("E711: List value does not have enough items"));
EXTERN char e_cannot_slice_dictionary[]
INIT(= N_("E719: Cannot slice a Dictionary"));
+EXTERN char e_conflicts_with_value_of_listchars[]
+ INIT(= N_("E834: Conflicts with value of 'listchars'"));
+EXTERN char e_conflicts_with_value_of_fillchars[]
+ INIT(= N_("E835: Conflicts with value of 'fillchars'"));
EXTERN char e_assert_fails_second_arg[]
INIT(= N_("E856: \"assert_fails()\" second argument must be a string or a list with one or two strings"));
EXTERN char e_using_invalid_value_as_string_str[]