refactor(cache): revert all vim.cache changes and disable it if it would ever exist

This commit is contained in:
Folke Lemaitre 2023-03-15 09:01:00 +01:00
parent 942c805b84
commit 21a219a825
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
6 changed files with 14 additions and 25 deletions

View file

@ -241,7 +241,7 @@ function M.get_unloaded_rtp(modname)
end
function M.find_root(modname)
local modpath = vim.cache.find(modname, {
local modpath = require("lazy.core.cache").find(modname, {
rtp = true,
paths = M.get_unloaded_rtp(modname),
patterns = { "", ".lua" },