diff options
author | kylo252 <[email protected]> | 2021-11-15 09:20:45 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2021-11-15 09:20:45 +0100 |
commit | ffcaae6c32fb10c7716dde2593e30bdf044719db (patch) | |
tree | ea3e7dde27561c059eb156b5deecc13199f6c874 /lua/lvim/bootstrap.lua | |
parent | a9bf545e0fc76882d99a3539f317155ce6c76d35 (diff) |
fix: use an indepdent shadafile from neovim (#1910)
Diffstat (limited to 'lua/lvim/bootstrap.lua')
-rw-r--r-- | lua/lvim/bootstrap.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lua/lvim/bootstrap.lua b/lua/lvim/bootstrap.lua index 74a9bf45..051f7698 100644 --- a/lua/lvim/bootstrap.lua +++ b/lua/lvim/bootstrap.lua @@ -46,7 +46,7 @@ end function M:init(base_dir) self.runtime_dir = get_runtime_dir() self.config_dir = get_config_dir() - self.cache_path = get_cache_dir() + self.cache_dir = get_cache_dir() self.pack_dir = join_paths(self.runtime_dir, "site", "pack") self.packer_install_dir = join_paths(self.runtime_dir, "site", "pack", "packer", "start", "packer.nvim") self.packer_cache_path = join_paths(self.config_dir, "plugin", "packer_compiled.lua") @@ -80,7 +80,7 @@ function M:init(base_dir) if not os.getenv "LVIM_TEST_ENV" then _G.PLENARY_DEBUG = false require("lvim.impatient").setup { - path = vim.fn.stdpath "cache" .. "/lvim_cache", + path = join_paths(self.cache_dir, "lvim_cache"), enable_profiling = true, } end |