mirror of https://github.com/folke/lazy.nvim.git
fix(plugin): fixup. It's fine that Plugin.url doesn't exist
This commit is contained in:
parent
199e100464
commit
42ff6009f6
|
@ -148,7 +148,7 @@ end
|
||||||
|
|
||||||
function Spec:fix_disabled()
|
function Spec:fix_disabled()
|
||||||
for _, plugin in pairs(self.plugins) do
|
for _, plugin in pairs(self.plugins) do
|
||||||
if not plugin.url or not plugin.dir then
|
if not plugin.name or not plugin.dir then
|
||||||
self:error("Plugin spec for **" .. plugin.name .. "** not found.\n```lua\n" .. vim.inspect(plugin) .. "\n```")
|
self:error("Plugin spec for **" .. plugin.name .. "** not found.\n```lua\n" .. vim.inspect(plugin) .. "\n```")
|
||||||
self.plugins[plugin.name] = nil
|
self.plugins[plugin.name] = nil
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue