Skip to content

Commit 42ff600

Browse files
committedMay 27, 2023
fix(plugin): fixup. It's fine that Plugin.url doesn't exist
1 parent 199e100 commit 42ff600

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎lua/lazy/core/plugin.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ end
148148

149149
function Spec:fix_disabled()
150150
for _, plugin in pairs(self.plugins) do
151-
if not plugin.url or not plugin.dir then
151+
if not plugin.name or not plugin.dir then
152152
self:error("Plugin spec for **" .. plugin.name .. "** not found.\n```lua\n" .. vim.inspect(plugin) .. "\n```")
153153
self.plugins[plugin.name] = nil
154154
end

0 commit comments

Comments
 (0)
Please sign in to comment.