mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-06-29 03:44:14 +00:00
fix(health): false positive when checking for packer, plugged, paq
This commit is contained in:
parent
aba872ec78
commit
1df244a3e5
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ function M.check()
|
||||||
|
|
||||||
for _, name in ipairs({ "packer", "plugged", "paq" }) do
|
for _, name in ipairs({ "packer", "plugged", "paq" }) do
|
||||||
for _, path in ipairs(vim.opt.rtp:get()) do
|
for _, path in ipairs(vim.opt.rtp:get()) do
|
||||||
if path:find(name, 1, true) then
|
if path:find("/" .. name .. "/", 1, true) then
|
||||||
error("Found paths on the rtp from another plugin manager `" .. name .. "`")
|
error("Found paths on the rtp from another plugin manager `" .. name .. "`")
|
||||||
break
|
break
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue