fix(util): get opts from parsing specs instead of plugins

This commit is contained in:
Folke Lemaitre 2024-05-16 22:14:57 +02:00
parent 76f9dbb40c
commit 14872fa816
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040

View file

@ -72,7 +72,7 @@ end
---@param name string ---@param name string
function M.opts(name) function M.opts(name)
local plugin = require("lazy.core.config").plugins[name] local plugin = require("lazy.core.config").spec.plugins[name]
if not plugin then if not plugin then
return {} return {}
end end