1
0
forked from aniani/vim

patch 8.2.4068: Vim9: import test fails

Problem:    Vim9: import test fails.
Solution:   Add missing change.
This commit is contained in:
Bram Moolenaar
2022-01-12 12:54:55 +00:00
parent f111cdfae6
commit f479cac084
2 changed files with 4 additions and 1 deletions

View File

@@ -1274,7 +1274,8 @@ do_source(
// See if we loaded this script before.
sid = find_script_by_name(fname_exp);
if (sid > 0 && ret_sid != NULL)
if (sid > 0 && ret_sid != NULL
&& SCRIPT_ITEM(sid)->sn_state != SN_STATE_NOT_LOADED)
{
// Already loaded and no need to load again, return here.
*ret_sid = sid;

View File

@@ -750,6 +750,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
4068,
/**/
4067,
/**/