mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-19 21:06:46 +00:00
fix(plugin): fixup. It's fine that Plugin.url doesn't exist
This commit is contained in:
parent
199e100464
commit
42ff6009f6
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue