Skip to content

Commit 6ff480b

Browse files
committed
fix(health): always use main spec
1 parent 39b6602 commit 6ff480b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lua/lazy/health.lua

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
local Util = require("lazy.util")
22
local Config = require("lazy.core.config")
3-
local Plugin = require("lazy.core.plugin")
43

54
local M = {}
65

@@ -49,7 +48,7 @@ function M.check()
4948
"cond",
5049
"_",
5150
}
52-
local spec = Plugin.spec({ show_errors = false })
51+
local spec = Config.parsed
5352
for _, plugin in pairs(spec.plugins) do
5453
for key in pairs(plugin) do
5554
if not vim.tbl_contains(valid, key) then

0 commit comments

Comments
 (0)