We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2ba4d59 commit 168dc5aCopy full SHA for 168dc5a
1 file changed
lua/core/global.lua
@@ -8,8 +8,8 @@ function global:load_variables()
8
self.is_windows = os_name == "Windows_NT"
9
self.is_wsl = vim.fn.has("wsl") == 1
10
self.vim_path = realpath(vim.fn.stdpath("config"))
11
- self.cache_dir = realpath(vim.fn.stdpath("cache"))
12
- self.data_dir = string.format("%s/site/", realpath(vim.fn.stdpath("data")))
+ self.cache_dir = vim.fn.stdpath("cache")
+ self.data_dir = string.format("%s/site/", vim.fn.stdpath("data"))
13
self.modules_dir = self.vim_path .. "/modules"
14
self.home = self.is_windows and vim.env.USERPROFILE or vim.env.HOME
15
end
0 commit comments