fix(loader): add plugins whose rtp got loaded early to start plugins

This commit is contained in:
xudyang1 2024-08-06 00:44:02 -04:00 committed by GitHub
commit 6c1ed122f1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -161,7 +161,7 @@ function M.get_start_plugins()
---@type LazyPlugin[]
local start = {}
for _, plugin in pairs(Config.plugins) do
if not plugin._.loaded and (plugin._.rtp_loaded or plugin.lazy == false) then
if not plugin._.loaded and (plugin._.rtp_loaded and plugin.lazy == false) then
start[#start + 1] = plugin
end
end