mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-08-30 22:59:22 +02:00
fix: use correct cache path (#2593)
This commit is contained in:
parent
cbeff80603
commit
47e26746df
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ end
|
||||||
function _G.get_cache_dir()
|
function _G.get_cache_dir()
|
||||||
local lvim_cache_dir = os.getenv "LUNARVIM_CACHE_DIR"
|
local lvim_cache_dir = os.getenv "LUNARVIM_CACHE_DIR"
|
||||||
if not lvim_cache_dir then
|
if not lvim_cache_dir then
|
||||||
return vim.call("stdpath", "config")
|
return vim.call("stdpath", "cache")
|
||||||
end
|
end
|
||||||
return lvim_cache_dir
|
return lvim_cache_dir
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue