mirror of https://github.com/folke/lazy.nvim.git
fix(loader): run plugin config before sourcing runtime
This commit is contained in:
parent
457f0bb7ce
commit
c59c05c7a8
|
@ -4,3 +4,5 @@ doc/tags
|
||||||
debug
|
debug
|
||||||
.repro
|
.repro
|
||||||
foo.*
|
foo.*
|
||||||
|
*.log
|
||||||
|
data
|
||||||
|
|
|
@ -217,10 +217,10 @@ function M._load(plugin, reason)
|
||||||
end, "Failed to load deps for " .. plugin.name)
|
end, "Failed to load deps for " .. plugin.name)
|
||||||
end
|
end
|
||||||
|
|
||||||
M.packadd(plugin.dir)
|
|
||||||
if plugin.config then
|
if plugin.config then
|
||||||
M.config(plugin)
|
M.config(plugin)
|
||||||
end
|
end
|
||||||
|
M.packadd(plugin.dir)
|
||||||
|
|
||||||
plugin._.loaded.time = Util.track().time
|
plugin._.loaded.time = Util.track().time
|
||||||
table.remove(M.loading)
|
table.remove(M.loading)
|
||||||
|
|
Loading…
Reference in New Issue