Skip to content

Commit

Permalink
fix(cache): allow lazyvim as a plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Jan 2, 2023
1 parent bc4133c commit f6b0172
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/lazy/core/cache.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit f6b0172

Please sign in to comment.