mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-19 04:46:45 +00:00
feat(cache): use vim.cache
everywhere. poly-fill when needed
This commit is contained in:
parent
4446d69c28
commit
ea1a044e3c
6 changed files with 14 additions and 15 deletions
|
@ -5,7 +5,6 @@ local Handler = require("lazy.core.handler")
|
|||
local Git = require("lazy.manage.git")
|
||||
local Plugin = require("lazy.core.plugin")
|
||||
local ViewConfig = require("lazy.view.config")
|
||||
local Cache = require("lazy.core.cache")
|
||||
|
||||
local Text = require("lazy.view.text")
|
||||
|
||||
|
@ -676,7 +675,7 @@ function M:debug()
|
|||
end)
|
||||
self:nl()
|
||||
|
||||
Util.foreach(Cache.stats, function(name, stats)
|
||||
Util.foreach(vim.cache.stats, function(name, stats)
|
||||
self:append(name, "LazyH2"):nl()
|
||||
local props = {
|
||||
{ "total", stats.total or 0, "Number" },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue