Skip to content

Commit

Permalink
fix(loader): add plugins whose rtp got loaded early to start plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Jul 22, 2024
1 parent a09c876 commit 34b0126
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/lazy/core/loader.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 34b0126

Please sign in to comment.