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