Skip to content

Commit f6b0172

Browse files
committed
fix(cache): allow lazyvim as a plugin
1 parent bc4133c commit f6b0172

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/lazy/core/cache.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ function M.check_path(modname, modpath)
6262

6363
-- the correct lazy path should be part of rtp.
6464
-- so if we get here, this is folke using the local dev instance ;)
65-
if modname and modname:sub(1, 4) == "lazy" then
65+
if modname and (modname == "lazy" or modname:sub(1, 5) == "lazy.") then
6666
return false
6767
end
6868

0 commit comments

Comments
 (0)