Skip to content

Commit

Permalink
fix(plugin): fixup. It's fine that Plugin.url doesn't exist
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed May 27, 2023
1 parent 199e100 commit 42ff600
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/lazy/core/plugin.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 42ff600

Please sign in to comment.