mirror of https://github.com/folke/lazy.nvim.git
fix(cache): allow lazyvim as a plugin
This commit is contained in:
parent
bc4133cb3e
commit
f6b0172e92
|
@ -62,7 +62,7 @@ function M.check_path(modname, modpath)
|
||||||
|
|
||||||
-- the correct lazy path should be part of rtp.
|
-- the correct lazy path should be part of rtp.
|
||||||
-- so if we get here, this is folke using the local dev instance ;)
|
-- so if we get here, this is folke using the local dev instance ;)
|
||||||
if modname and modname:sub(1, 4) == "lazy" then
|
if modname and (modname == "lazy" or modname:sub(1, 5) == "lazy.") then
|
||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue