1
0
forked from aniani/vim

patch 9.1.0165: Vim9: Importing an autoload imported script fails

Problem:  Vim9: Importing an autoload imported script fails
          (Song-Tianxiang)
Solution: Return the script ID in this case
          (Yegappan Lakshmanan)

fixes: #14171
closes: #14174

Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Yegappan Lakshmanan
2024-03-10 19:22:38 +01:00
committed by Christian Brabandt
parent 26dd09ad5e
commit fa63008727
3 changed files with 53 additions and 0 deletions

View File

@@ -1690,6 +1690,8 @@ do_source_ext(
// reset version, "vim9script" may have been added or removed.
si->sn_version = 1;
}
if (ret_sid != NULL)
*ret_sid = sid;
}
else
{