diff options
author | kylo252 <[email protected]> | 2022-05-03 08:55:15 +0200 |
---|---|---|
committer | kylo252 <[email protected]> | 2022-05-03 08:55:15 +0200 |
commit | e264bff7e820ba891cd16892de52236d62f7821f (patch) | |
tree | 4262530ac7738ebdec0fa6abab560610789b72f3 /lua/lvim/bootstrap.lua | |
parent | ad5eeaf6ad12cf05e4b936690bf78bc53827b12c (diff) | |
parent | cfa702e6fe2f875a2c674182fe2f86e8f613aa1e (diff) |
Merge remote-tracking branch 'origin/rolling'
Diffstat (limited to 'lua/lvim/bootstrap.lua')
-rw-r--r-- | lua/lvim/bootstrap.lua | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/lua/lvim/bootstrap.lua b/lua/lvim/bootstrap.lua index ac6475c7..a3114a1e 100644 --- a/lua/lvim/bootstrap.lua +++ b/lua/lvim/bootstrap.lua @@ -70,14 +70,11 @@ function M:init(base_dir) 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") - ---@meta overridden to use LUNARVIM_x_DIR instead, since a lot of plugins call this function interally + ---@meta overridden to use LUNARVIM_CACHE_DIR instead, since a lot of plugins call this function interally + ---NOTE: changes to "data" are currently unstable, see #2507 vim.fn.stdpath = function(what) if what == "cache" then return _G.get_cache_dir() - elseif what == "data" then - return _G.get_runtime_dir() - elseif what == "config" then - return _G.get_config_dir() end return vim.call("stdpath", what) end |