Mercurial > vim
diff src/errors.h @ 27978:442ca2007bec v8.2.4514
patch 8.2.4514: Vim9: some flow commands can be shortened
Commit: https://github.com/vim/vim/commit/b2175220dafc28349b275ac7f3080f89cce78a57
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Mar 5 20:24:41 2022 +0000
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".
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 05 Mar 2022 21:30:03 +0100 |
parents | 212c5894b8b1 |
children | 40e35cefeac6 |
line wrap: on
line diff
--- a/src/errors.h +++ b/src/errors.h @@ -2761,7 +2761,7 @@ EXTERN char e_type_mismatch_for_v_variab #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[]