From 6ff480bdee276265e69f644877706ccb11892799 Mon Sep 17 00:00:00 2001 From: Folke Lemaitre Date: Sun, 1 Jan 2023 21:09:02 +0100 Subject: [PATCH] fix(health): always use main spec --- lua/lazy/health.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lua/lazy/health.lua b/lua/lazy/health.lua index 57c24f6..e218603 100644 --- a/lua/lazy/health.lua +++ b/lua/lazy/health.lua @@ -1,6 +1,5 @@ local Util = require("lazy.util") local Config = require("lazy.core.config") -local Plugin = require("lazy.core.plugin") local M = {} @@ -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