mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-18 20:36:45 +00:00
refactor(cache): revert all vim.cache
changes and disable it if it would ever exist
This commit is contained in:
parent
942c805b84
commit
21a219a825
6 changed files with 14 additions and 25 deletions
|
@ -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" },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue