0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

patch 8.2.3743: ":sign" can add a highlight group without a name

Problem:    ":sign" can add a highlight group without a name.
Solution:   Give an error if the group name is missing. (closes #9280)
This commit is contained in:
Bram Moolenaar
2021-12-05 13:02:50 +00:00
parent f589fd3e10
commit 5e18ccc60b
4 changed files with 34 additions and 0 deletions

View File

@@ -694,3 +694,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_group_name_missing_for_str[]
INIT(= N_("E1249: Group name missing for %s"));