forked from aniani/vim
patch 8.2.3924: Vim9: no error if something follows :enddef
Problem: Vim9: no error if something follows :enddef in a nested function. Solution: Give an error. Move common code to a function.
This commit is contained in:
@@ -717,8 +717,8 @@ EXTERN char e_missing_end_block[]
|
||||
INIT(= N_("E1171: Missing } after inline function"));
|
||||
EXTERN char e_cannot_use_default_values_in_lambda[]
|
||||
INIT(= N_("E1172: Cannot use default values in a lambda"));
|
||||
EXTERN char e_text_found_after_enddef_str[]
|
||||
INIT(= N_("E1173: Text found after enddef: %s"));
|
||||
EXTERN char e_text_found_after_str_str[]
|
||||
INIT(= N_("E1173: Text found after %s: %s"));
|
||||
EXTERN char e_string_required_for_argument_nr[]
|
||||
INIT(= N_("E1174: String required for argument %d"));
|
||||
EXTERN char e_non_empty_string_required_for_argument_nr[]
|
||||
|
Reference in New Issue
Block a user