From b764a1ba932ab07edb169b63a102b20cb7769f90 Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Mon, 13 Oct 2025 00:15:21 -0400 Subject: [PATCH] vim-patch:8.2.2423: missing error message Problem: Missing error message. Solution: Add the error message. https://github.com/vim/vim/commit/61015162ba834541c42da5db6f3fa0ebe1d40e87 Co-authored-by: Bram Moolenaar --- src/nvim/arglist.c | 2 -- src/nvim/errors.h | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/nvim/arglist.c b/src/nvim/arglist.c index 30000451f8..1d5903aefc 100644 --- a/src/nvim/arglist.c +++ b/src/nvim/arglist.c @@ -68,8 +68,6 @@ typedef struct { static const char e_window_layout_changed_unexpectedly[] = N_("E249: Window layout changed unexpectedly"); -static const char e_cannot_change_arglist_recursively[] - = N_("E1156: Cannot change the argument list recursively"); enum { AL_SET = 1, diff --git a/src/nvim/errors.h b/src/nvim/errors.h index e7e1395184..b63929a657 100644 --- a/src/nvim/errors.h +++ b/src/nvim/errors.h @@ -166,6 +166,7 @@ EXTERN const char e_no_more_directory_str_found_in_cdpath[] INIT(= N_("E346: No EXTERN const char e_no_more_file_str_found_in_path[] INIT(= N_("E347: No more file \"%s\" found in path")); EXTERN const char e_cannot_define_autocommands_for_all_events[] INIT(= N_("E1155: Cannot define autocommands for ALL events")); +EXTERN const char e_cannot_change_arglist_recursively[] INIT(= N_("E1156: Cannot change the argument list recursively")); EXTERN const char e_resulting_text_too_long[] INIT(= N_("E1240: Resulting text too long"));