mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-20 13:26:45 +00:00
fix(loader): setup handlers after installing missing plugins. Fixes #272
This commit is contained in:
parent
1edd1b8945
commit
b23a5dc8d5
1 changed files with 5 additions and 5 deletions
|
@ -16,11 +16,6 @@ M.disabled_rtp_plugins = { packer_compiled = true }
|
||||||
M.did_ftdetect = {}
|
M.did_ftdetect = {}
|
||||||
|
|
||||||
function M.setup()
|
function M.setup()
|
||||||
-- setup handlers
|
|
||||||
Util.track("handlers")
|
|
||||||
Handler.setup()
|
|
||||||
Util.track()
|
|
||||||
|
|
||||||
for _, file in ipairs(Config.options.performance.rtp.disabled_plugins) do
|
for _, file in ipairs(Config.options.performance.rtp.disabled_plugins) do
|
||||||
M.disabled_rtp_plugins[file] = true
|
M.disabled_rtp_plugins[file] = true
|
||||||
end
|
end
|
||||||
|
@ -47,6 +42,11 @@ function M.setup()
|
||||||
end
|
end
|
||||||
Util.track()
|
Util.track()
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- setup handlers
|
||||||
|
Util.track("handlers")
|
||||||
|
Handler.setup()
|
||||||
|
Util.track()
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Startup sequence
|
-- Startup sequence
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue