mirror of https://github.com/folke/lazy.nvim.git
fix(loader): add plugins whose rtp got loaded early to start plugins
This commit is contained in:
parent
a09c876f6e
commit
34b0126e5b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue