patch 8.2.4275: cannot use an autoload function from a package under start
Problem: Cannot use an autoload function from a package under start.
Solution: Also look in the "start" package directory. (Bjorn Linse,
closes #7193)
diff --git a/src/scriptfile.c b/src/scriptfile.c
index dec512a..cee3f54 100644
--- a/src/scriptfile.c
+++ b/src/scriptfile.c
@@ -2294,7 +2294,7 @@
// Try loading the package from $VIMRUNTIME/autoload/<name>.vim
// Use "ret_sid" to avoid loading the same script again.
- if (source_in_path(p_rtp, scriptname, 0, &ret_sid) == OK)
+ if (source_in_path(p_rtp, scriptname, DIP_START, &ret_sid) == OK)
ret = TRUE;
}