feat(health): add better error message with violating file

This commit is contained in:
Johnston Liu 2025-04-03 19:36:57 -05:00
commit e0d0f4a490

View file

@ -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