This commit is contained in:
Joshua Weingarden 2025-07-21 20:27:13 -04:00 committed by GitHub
commit 632fbe00a3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -143,6 +143,10 @@ function M.startup()
-- 4. load after plugins -- 4. load after plugins
Util.track({ start = "after" }) Util.track({ start = "after" })
-- Set init_done here so plugins loaded afterwards know that
-- they are not able to add to init anymore
M.init_done = true
Util.track()
for _, path in for _, path in
ipairs(vim.opt.rtp:get() --[[@as string[] ]]) ipairs(vim.opt.rtp:get() --[[@as string[] ]])
do do
@ -151,10 +155,6 @@ function M.startup()
end end
end end
Util.track() Util.track()
M.init_done = true
Util.track()
end end
function M.get_start_plugins() function M.get_start_plugins()