Skip to content

Commit b23a5dc

Browse files
committed
fix(loader): setup handlers after installing missing plugins. Fixes #272
1 parent 1edd1b8 commit b23a5dc

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

lua/lazy/core/loader.lua

+5-5
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,6 @@ M.disabled_rtp_plugins = { packer_compiled = true }
1616
M.did_ftdetect = {}
1717

1818
function M.setup()
19-
-- setup handlers
20-
Util.track("handlers")
21-
Handler.setup()
22-
Util.track()
23-
2419
for _, file in ipairs(Config.options.performance.rtp.disabled_plugins) do
2520
M.disabled_rtp_plugins[file] = true
2621
end
@@ -47,6 +42,11 @@ function M.setup()
4742
end
4843
Util.track()
4944
end
45+
46+
-- setup handlers
47+
Util.track("handlers")
48+
Handler.setup()
49+
Util.track()
5050
end
5151

5252
-- Startup sequence

0 commit comments

Comments
 (0)