1
0
forked from aniani/vim

patch 8.2.4044: Vim9: no error when importing the same script twice

Problem:    Vim9: no error when importing the same script twice.
Solution:   Give an error, unless it is a reload.
This commit is contained in:
Bram Moolenaar
2022-01-08 17:03:55 +00:00
parent 04935fb17e
commit 7c24dfddc2
4 changed files with 51 additions and 31 deletions

View File

@@ -2891,3 +2891,5 @@ 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\""));
EXTERN char e_cannot_import_same_script_twice_str[]
INIT(= N_("E1262: Cannot import the same script twice: %s"));