summaryrefslogtreecommitdiffstats
path: root/src/errors.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-05-08 22:32:58 +0100
committerBram Moolenaar <Bram@vim.org>2022-05-08 22:32:58 +0100
commit7c824682d2028432ee082703ef0ab399867a089b (patch)
treef2f5fd36e29e8aaeadb17ae0289d2a685afaafb5 /src/errors.h
parent9830db63057db76044eca89cc4cfb2758ae7a543 (diff)
patch 8.2.4919: can add invalid bytes with :spellgoodv8.2.4919
Problem: Can add invalid bytes with :spellgood. Solution: Check for a valid word string.
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 1e9be6c3e3..087f49753d 100644
--- a/src/errors.h
+++ b/src/errors.h
@@ -3273,3 +3273,7 @@ EXTERN char e_stray_closing_curly_str[]
EXTERN char e_missing_close_curly_str[]
INIT(= N_("E1279: Missing '}': %s"));
#endif
+#ifdef FEAT_SPELL
+EXTERN char e_illegal_character_in_word[]
+ INIT(= N_("E1280: Illegal character in word"));
+#endif