From 6c1ed122f14b44ae9964a7f57eb8cb0b9110c24a Mon Sep 17 00:00:00 2001 From: xudyang1 <61672396+xudyang1@users.noreply.github.com> Date: Tue, 6 Aug 2024 00:44:02 -0400 Subject: [PATCH] fix(loader): add plugins whose rtp got loaded early to start plugins --- lua/lazy/core/loader.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/lazy/core/loader.lua b/lua/lazy/core/loader.lua index cfcc136..73bb6a1 100644 --- a/lua/lazy/core/loader.lua +++ b/lua/lazy/core/loader.lua @@ -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