From e0d0f4a49061c97f10f1481ce3c0959948cd89b2 Mon Sep 17 00:00:00 2001 From: Johnston Liu Date: Thu, 3 Apr 2025 19:36:57 -0500 Subject: [PATCH] feat(health): add better error message with violating file --- lua/lazy/health.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/lazy/health.lua b/lua/lazy/health.lua index 6a6d60d..0f9b375 100644 --- a/lua/lazy/health.lua +++ b/lua/lazy/health.lua @@ -94,6 +94,7 @@ function M.check() for _, path in ipairs(vim.opt.rtp:get()) do if path:find(name, 1, true) then error("Found paths on the rtp from another plugin manager `" .. name .. "`") + error("Violating file: `".. path .."`") break end end