fix(plugin): fixup. It's fine that Plugin.url doesn't exist

This commit is contained in:
Folke Lemaitre 2023-05-27 08:49:45 +02:00
parent 199e100464
commit 42ff6009f6
No known key found for this signature in database
GPG Key ID: 41F8B1FBACAE2040
1 changed files with 1 additions and 1 deletions

View File

@ -148,7 +148,7 @@ end
function Spec:fix_disabled()
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.plugins[plugin.name] = nil
end