From f6b0172e92c502bd4b1482cbb8bed4e6e3231357 Mon Sep 17 00:00:00 2001 From: Folke Lemaitre Date: Mon, 2 Jan 2023 12:54:00 +0100 Subject: [PATCH] fix(cache): allow lazyvim as a plugin --- lua/lazy/core/cache.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/lazy/core/cache.lua b/lua/lazy/core/cache.lua index 35e3852..e825b24 100644 --- a/lua/lazy/core/cache.lua +++ b/lua/lazy/core/cache.lua @@ -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