fix: always add config/after to rtp

This commit is contained in:
Folke Lemaitre 2022-12-03 21:08:35 +01:00
parent 13b5688487
commit c98e722fa4
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
2 changed files with 5 additions and 8 deletions

View file

@ -36,8 +36,6 @@ function M.setup()
end
function M.init_plugins()
Util.track("loader")
Util.track({ start = "init" })
for _, plugin in pairs(Config.plugins) do
-- run plugin init
@ -52,8 +50,6 @@ function M.init_plugins()
M.load(plugin, { start = "startup" })
end
end
Util.track()
Util.track()
M.init_done = true
end