mirror of https://github.com/folke/lazy.nvim.git
fix(loader): setup handlers after installing missing plugins. Fixes #272
This commit is contained in:
parent
1edd1b8945
commit
b23a5dc8d5
|
@ -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…
Reference in New Issue