1
0
forked from aniani/vim

patch 8.2.4514: Vim9: some flow commands can be shortened

Problem:    Vim9: some flow commands can be shortened.
Solution:   Also require using the full name for ":return", ":enddef",
            ":continue", ":export" and ":import".
This commit is contained in:
Bram Moolenaar
2022-03-05 20:24:41 +00:00
parent b29ae15977
commit b2175220da
6 changed files with 40 additions and 10 deletions

View File

@@ -2761,7 +2761,7 @@ EXTERN char e_type_mismatch_for_v_variable[]
#endif
EXTERN char e_yank_register_changed_while_using_it[]
INIT(= N_("E1064: Yank register changed while using it"));
EXTERN char e_command_cannot_be_shortened[]
EXTERN char e_command_cannot_be_shortened_str[]
INIT(= N_("E1065: Command cannot be shortened: %s"));
#ifdef FEAT_EVAL
EXTERN char e_cannot_declare_a_register_str[]