Skip to content

Commit

Permalink
fix(loader): setup handlers after installing missing plugins. Fixes #272
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Jan 1, 2023
1 parent 1edd1b8 commit b23a5dc
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lua/lazy/core/loader.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -47,6 +42,11 @@ function M.setup()
end
Util.track()
end

-- setup handlers
Util.track("handlers")
Handler.setup()
Util.track()
end

-- Startup sequence
Expand Down

0 comments on commit b23a5dc

Please sign in to comment.