mirror of https://github.com/folke/lazy.nvim.git
fix(loader): revert change that loaded /plugin after config. Fixes #328
This commit is contained in:
parent
e89e938991
commit
2ef44e2dee
|
@ -217,10 +217,10 @@ function M._load(plugin, reason)
|
|||
end, "Failed to load deps for " .. plugin.name)
|
||||
end
|
||||
|
||||
M.packadd(plugin.dir)
|
||||
if plugin.config then
|
||||
M.config(plugin)
|
||||
end
|
||||
M.packadd(plugin.dir)
|
||||
|
||||
plugin._.loaded.time = Util.track().time
|
||||
table.remove(M.loading)
|
||||
|
|
Loading…
Reference in New Issue