forked from aniani/vim
patch 8.2.4653: "import autoload" does not check the file name
Problem: "import autoload" does not check the file name. Solution: Give an error if the file is not readable. (closes #10049)
This commit is contained in:
@@ -5976,7 +5976,7 @@ mkspell(
|
||||
}
|
||||
if (mch_isdir(wfname))
|
||||
{
|
||||
semsg(_(e_src_is_directory), wfname);
|
||||
semsg(_(e_str_is_directory), wfname);
|
||||
goto theend;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user