mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-20 13:26:45 +00:00
fix(loader): revert change that loaded /plugin after config. Fixes #328
This commit is contained in:
parent
e89e938991
commit
2ef44e2dee
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue