move plugin init outside
This commit is contained in:
parent
a1a860d587
commit
da2cf2db63
@ -80,9 +80,10 @@ end
|
||||
|
||||
local plugins = setmetatable({}, {
|
||||
__index = function(_, key)
|
||||
init()
|
||||
return packer[key]
|
||||
end
|
||||
})
|
||||
|
||||
init()
|
||||
|
||||
return plugins
|
||||
|
Loading…
Reference in New Issue
Block a user