mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-06-27 19:24:13 +00:00
feat(health): add better error message with violating file
This commit is contained in:
parent
6c3bda4aca
commit
e0d0f4a490
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue