From ff1e322b4f9ffe502341947de3d1e2ca932ec491 Mon Sep 17 00:00:00 2001 From: Folke Lemaitre Date: Tue, 3 Jan 2023 09:13:22 +0100 Subject: [PATCH] style: debug --- lua/lazy/core/cache.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/lazy/core/cache.lua b/lua/lazy/core/cache.lua index 6fa9711..c05c0af 100644 --- a/lua/lazy/core/cache.lua +++ b/lua/lazy/core/cache.lua @@ -190,7 +190,7 @@ function M.load(modkey, modpath) end entry.hash = hash - if M.debug and M.enabled then + if M.debug then vim.schedule(function() vim.notify("[cache:load] " .. modpath) end)