0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 8.2.3757: an overlong highlight group name is silently truncated

Problem:    An overlong highlight group name is silently truncated.
Solution:   Give an error if the name is too long. (closes #9289)
This commit is contained in:
erw7
2021-12-07 21:29:20 +00:00
committed by Bram Moolenaar
parent 4dc24eb5ad
commit f7f7aaf8aa
4 changed files with 14 additions and 2 deletions

View File

@@ -756,3 +756,5 @@ EXTERN char e_line_number_out_of_range[]
INIT(= N_("E1247: Line number out of range"));
EXTERN char e_closure_called_from_invalid_context[]
INIT(= N_("E1248: Closure called from invalid context"));
EXTERN char e_highlight_group_name_too_long[]
INIT(= N_("E1249: Highlight group name too long"));