startup: handle autoload and lua packages during startup

¡NO HAY BANDA!
This commit is contained in:
Björn Linse
2020-10-19 20:05:54 +02:00
parent 6224ec3d4a
commit c60c7375f5
15 changed files with 92 additions and 274 deletions

View File

@@ -3364,10 +3364,6 @@ ambw_end:
if (!parse_winhl_opt(curwin)) {
errmsg = e_invarg;
}
} else if (varp == &p_rtp) { // 'runtimepath'
if (!nlua_update_package_path()) {
errmsg = (char_u *)N_("E970: Failed to initialize lua interpreter");
}
} else {
// Options that are a list of flags.
p = NULL;