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
+1 -1
View File
@@ -72,7 +72,7 @@ end
---@param name string
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
return {}
end