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
|
||||
.repro
|
||||
foo.*
|
||||
*.log
|
||||
data
|
||||
|
|
|
@ -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