summaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
authorXavier Young <[email protected]>2022-05-10 23:28:30 +0800
committerGitHub <[email protected]>2022-05-10 17:28:30 +0200
commit47e26746df7e0d85bccbe645a64bfea983d13e6a (patch)
tree5e0753dd2edf028fc4309b128617bc42ab151cc0 /lua
parentcbeff80603d0e3b90c5e7be1ab4465ae2fac01e2 (diff)
fix: use correct cache path (#2593)
Diffstat (limited to 'lua')
-rw-r--r--lua/lvim/bootstrap.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/lvim/bootstrap.lua b/lua/lvim/bootstrap.lua
index a3114a1e..f637c144 100644
--- a/lua/lvim/bootstrap.lua
+++ b/lua/lvim/bootstrap.lua
@@ -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