Mercurial > vim
comparison src/errors.h @ 27960:be693de40634 v8.2.4505
patch 8.2.4505: Vim9: outdated "autocmd nested" still works
Commit: https://github.com/vim/vim/commit/f07751457c39a645009c17cd837131f6bcdd7d55
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Mar 4 20:10:38 2022 +0000
patch 8.2.4505: Vim9: outdated "autocmd nested" still works
Problem: Vim9: outdated "autocmd nested" still works.
Solution: Do not accept the :autocmd argument "nested" without "++" in Vim9
script.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 04 Mar 2022 21:15:02 +0100 |
parents | aacc98a38cf3 |
children | 0fa3be75ddc7 |
comparison
equal
deleted
inserted
replaced
27959:ec56a659a69a | 27960:be693de40634 |
---|---|
2784 EXTERN char e_this_vim_is_not_compiled_with_float_support[] | 2784 EXTERN char e_this_vim_is_not_compiled_with_float_support[] |
2785 INIT(= N_("E1076: This Vim is not compiled with float support")); | 2785 INIT(= N_("E1076: This Vim is not compiled with float support")); |
2786 # endif | 2786 # endif |
2787 EXTERN char e_missing_argument_type_for_str[] | 2787 EXTERN char e_missing_argument_type_for_str[] |
2788 INIT(= N_("E1077: Missing argument type for %s")); | 2788 INIT(= N_("E1077: Missing argument type for %s")); |
2789 // E1078 unused | 2789 #endif |
2790 EXTERN char e_invalid_command_nested_did_you_mean_plusplus_nested[] | |
2791 INIT(= N_("E1078: Invalid command \"nested\", did you mean \"++nested\"?")); | |
2792 #ifdef FEAT_EVAL | |
2790 EXTERN char e_cannot_declare_variable_on_command_line[] | 2793 EXTERN char e_cannot_declare_variable_on_command_line[] |
2791 INIT(= N_("E1079: Cannot declare a variable on the command line")); | 2794 INIT(= N_("E1079: Cannot declare a variable on the command line")); |
2792 EXTERN char e_invalid_assignment[] | 2795 EXTERN char e_invalid_assignment[] |
2793 INIT(= N_("E1080: Invalid assignment")); | 2796 INIT(= N_("E1080: Invalid assignment")); |
2794 EXTERN char e_cannot_unlet_str[] | 2797 EXTERN char e_cannot_unlet_str[] |