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

patch 8.2.4604: error for redefining a script item may be confusing

Problem:    Error for redefining a script item may be confusing.
Solution:   Put quotes around the name.
This commit is contained in:
Bram Moolenaar
2022-03-21 19:47:31 +00:00
parent 85b43c6cb7
commit 6d877fe018
2 changed files with 3 additions and 1 deletions

View File

@@ -2715,7 +2715,7 @@ EXTERN char e_cannot_use_scriptversion_after_vim9script[]
INIT(= N_("E1040: Cannot use :scriptversion after :vim9script")); INIT(= N_("E1040: Cannot use :scriptversion after :vim9script"));
#ifdef FEAT_EVAL #ifdef FEAT_EVAL
EXTERN char e_redefining_script_item_str[] EXTERN char e_redefining_script_item_str[]
INIT(= N_("E1041: Redefining script item %s")); INIT(= N_("E1041: Redefining script item: \"%s\""));
EXTERN char e_export_can_only_be_used_in_vim9script[] EXTERN char e_export_can_only_be_used_in_vim9script[]
INIT(= N_("E1042: Export can only be used in vim9script")); INIT(= N_("E1042: Export can only be used in vim9script"));
EXTERN char e_invalid_command_after_export[] EXTERN char e_invalid_command_after_export[]

View File

@@ -750,6 +750,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
4604,
/**/ /**/
4603, 4603,
/**/ /**/