Skip to content

Commit 34b0126

Browse files
committed
fix(loader): add plugins whose rtp got loaded early to start plugins
1 parent a09c876 commit 34b0126

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/lazy/core/loader.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ function M.get_start_plugins()
161161
---@type LazyPlugin[]
162162
local start = {}
163163
for _, plugin in pairs(Config.plugins) do
164-
if plugin.lazy == false and not plugin._.loaded then
164+
if not plugin._.loaded and (plugin._.rtp_loaded or plugin.lazy == false) then
165165
start[#start + 1] = plugin
166166
end
167167
end

0 commit comments

Comments
 (0)