1
0
forked from aniani/vim

patch 8.2.4506: "pattern not found" for :global is not an error message

Problem:    "pattern not found" for :global is not an error message.
Solution:   In Vim9 script make this an actual error, so that try/catch can be
            used as expected.
This commit is contained in:
Bram Moolenaar
2022-03-04 21:34:31 +00:00
parent f07751457c
commit 24d9c0557e
4 changed files with 36 additions and 3 deletions

View File

@@ -1346,7 +1346,8 @@ EXTERN char e_comma_required[]
EXTERN char e_commentstring_must_be_empty_or_contain_str[]
INIT(= N_("E537: 'commentstring' must be empty or contain %s"));
#endif
// E538 unused
EXTERN char e_pattern_found_in_every_line_str[]
INIT(= N_("E538: Pattern found in every line: %s"));
EXTERN char e_illegal_character_str[]
INIT(= N_("E539: Illegal character <%s>"));
#ifdef FEAT_STL_OPT