cleanup
This commit is contained in:
@@ -2,12 +2,12 @@ local M = {}
|
||||
|
||||
local loaded = {}
|
||||
|
||||
function M.load_once(key, specs, setup)
|
||||
function M.load_once(key, plugins, setup)
|
||||
if loaded[key] then
|
||||
return
|
||||
end
|
||||
loaded[key] = true
|
||||
vim.pack.add(specs)
|
||||
vim.pack.add(plugins)
|
||||
if setup then
|
||||
setup()
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user