issue #71 packer loader failed to load plugins

pull/79/head
ray-x 2 years ago
parent 99cc459eed
commit b1271d5e6a

@ -340,7 +340,9 @@ function util.load_plugin(name, modulename)
if not packer_plugins[name] or not packer_plugins[name].loaded then
util.log("packer loader " .. name)
vim.cmd("packadd " .. name) -- load with default
loader(name)
if packer_plugins[name] ~= nil then
loader(name)
end
end
else
util.log("packadd " .. name)

Loading…
Cancel
Save