Skip to content

Commit

Permalink
fix(health): always use main spec
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Jan 1, 2023
1 parent 39b6602 commit 6ff480b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lua/lazy/health.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
local Util = require("lazy.util")
local Config = require("lazy.core.config")
local Plugin = require("lazy.core.plugin")

local M = {}

Expand Down Expand Up @@ -49,7 +48,7 @@ function M.check()
"cond",
"_",
}
local spec = Plugin.spec({ show_errors = false })
local spec = Config.parsed
for _, plugin in pairs(spec.plugins) do
for key in pairs(plugin) do
if not vim.tbl_contains(valid, key) then
Expand Down

0 comments on commit 6ff480b

Please sign in to comment.