diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-01-07 13:38:24 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-01-07 13:38:24 +0000 |
commit | 834d41853e12b9022f60b08c32480928c2a9e48f (patch) | |
tree | d31a9bc977f3845b4fb62bfab159296c0c85f5c7 /src/errors.h | |
parent | 32884ad753ffb462d27998beb50678888209075f (diff) |
patch 8.2.4025: error for import not ending in .vim does not work for .vimrcv8.2.4025
Problem: Error for import not ending in .vim does not work for .vimrc.
Solution: Check that .vim is the end. (closes #9484)
Diffstat (limited to 'src/errors.h')
-rw-r--r-- | src/errors.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/errors.h b/src/errors.h index 5aaaeacd8d..9facb82c4a 100644 --- a/src/errors.h +++ b/src/errors.h @@ -2881,11 +2881,13 @@ EXTERN char e_cmd_mapping_must_end_with_cr[] INIT(= N_("E1255: <Cmd> mapping must end with <CR>")); EXTERN char e_string_or_function_required_for_argument_nr[] INIT(= N_("E1256: String or function required for argument %d")); -EXTERN char e_imported_script_must_end_in_dot_vim_str[] - INIT(= N_("E1257: Imported script must end in .vim: %s")); +EXTERN char e_imported_script_must_use_as_or_end_in_dot_vim_str[] + INIT(= N_("E1257: Imported script must use \"as\" or end in .vim: %s")); EXTERN char e_no_dot_after_imported_name_str[] INIT(= N_("E1258: No '.' after imported name: %s")); EXTERN char e_missing_name_after_imported_name_str[] INIT(= N_("E1259: Missing name after imported name: %s")); EXTERN char e_cannot_unlet_imported_item_str[] INIT(= N_("E1260: Cannot unlet an imported item: %s")); +EXTERN char e_cannot_import_dot_vim_without_using_as[] + INIT(= N_("E1261: Cannot import .vim without using \"as\"")); |