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

This commit is contained in:
Folke Lemaitre 2024-07-22 09:43:09 +02:00
parent a09c876f6e
commit 34b0126e5b
No known key found for this signature in database
GPG Key ID: 41F8B1FBACAE2040
1 changed files with 1 additions and 1 deletions

View File

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