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:
committed by
Christian Brabandt
parent
26dd09ad5e
commit
fa63008727
@@ -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
|
||||
{
|
||||
|
Reference in New Issue
Block a user