fix: use correct cache path (#2593)

This commit is contained in:
Xavier Young 2022-05-10 23:28:30 +08:00 committed by GitHub
parent cbeff80603
commit 47e26746df
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -55,7 +55,7 @@ end
function _G.get_cache_dir()
local lvim_cache_dir = os.getenv "LUNARVIM_CACHE_DIR"
if not lvim_cache_dir then
return vim.call("stdpath", "config")
return vim.call("stdpath", "cache")
end
return lvim_cache_dir
end