fix(loader): setup handlers after installing missing plugins. Fixes #272

This commit is contained in:
Folke Lemaitre 2023-01-01 18:45:20 +01:00
parent 1edd1b8945
commit b23a5dc8d5
No known key found for this signature in database
GPG Key ID: 41F8B1FBACAE2040
1 changed files with 5 additions and 5 deletions

View File

@ -16,11 +16,6 @@ M.disabled_rtp_plugins = { packer_compiled = true }
M.did_ftdetect = {}
function M.setup()
-- setup handlers
Util.track("handlers")
Handler.setup()
Util.track()
for _, file in ipairs(Config.options.performance.rtp.disabled_plugins) do
M.disabled_rtp_plugins[file] = true
end
@ -47,6 +42,11 @@ function M.setup()
end
Util.track()
end
-- setup handlers
Util.track("handlers")
Handler.setup()
Util.track()
end
-- Startup sequence