fix(cache): allow lazyvim as a plugin

This commit is contained in:
Folke Lemaitre 2023-01-02 12:54:00 +01:00
parent bc4133cb3e
commit f6b0172e92
No known key found for this signature in database
GPG Key ID: 41F8B1FBACAE2040
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ function M.check_path(modname, modpath)
-- the correct lazy path should be part of rtp.
-- 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
end