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

@ -1,13 +1,3 @@
---@diagnostic disable: duplicate-doc-alias
---@diagnostic disable: duplicate-doc-field
---@diagnostic disable: duplicate-set-field
-- interop with the native Neovim cache
if type(package.loaded["vim.cache"]) == "table" then
return package.loaded["vim.cache"]
end
-- NEOVIM
local uv = vim.loop
local M = {}