File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3636 - name : colors-wal.vim (Windows)
3737 if : matrix.os == 'windows-latest'
3838 run : |
39- mkdir -p "$HOME/AppData/Local /wal/"
40- cp ./tests/colors-wal.vim "$HOME/AppData/Local /wal/"
39+ mkdir -p "$HOME/.cache /wal/"
40+ cp ./tests/colors-wal.vim "$HOME/.cache /wal/"
4141 - name : colors-wal.vim (Ubuntu/MacOS)
4242 if : matrix.os != 'windows-latest'
4343 run : |
Original file line number Diff line number Diff line change @@ -140,7 +140,7 @@ function M.setup(config)
140140
141141 local cache_dir
142142 if path_sep == " \\ " then
143- cache_dir = os.getenv (" LOCALAPPDATA " ) -- Windows
143+ cache_dir = os.getenv (" USERPROFILE " ) .. " \\ .cache " -- Windows
144144 else
145145 cache_dir = os.getenv (" HOME" ) .. " /.cache" -- Linux/MacOS
146146 end
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ local path_sep = jit and (jit.os == "Windows" and "\\" or "/") or package.config
88--- @type string ?
99local cache_dir = " "
1010if path_sep == " \\ " then
11- cache_dir = os.getenv (" LOCALAPPDATA " ) -- Windows
11+ cache_dir = os.getenv (" USERPROFILE " ) .. " \\ .cache " -- Windows
1212else
1313 cache_dir = os.getenv (" HOME" ) .. " /.cache" -- Linux/MacOS
1414end
You can’t perform that action at this time.
0 commit comments