We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af351f6 commit b2dec14Copy full SHA for b2dec14
lua/lazy/core/cache.lua
@@ -55,7 +55,7 @@ function M.check_path(modname, modpath)
55
56
-- check rtp excluding plugins. This is a very small list, so should be fast
57
for _, path in ipairs(M.get_rtp()) do
58
- if modpath:find(path, 1, true) == 1 then
+ if modpath:find(path .. "/", 1, true) == 1 then
59
return true
60
end
61
0 commit comments