diff options
Diffstat (limited to 'init.lua')
| -rw-r--r-- | init.lua | 8 |
1 files changed, 6 insertions, 2 deletions
| @@ -2,9 +2,13 @@ vim.cmd('source ~/.vim/vimrc') | |||
| 2 | 2 | ||
| 3 | vim.o.termguicolors = true | 3 | vim.o.termguicolors = true |
| 4 | vim.o.exrc = true | 4 | vim.o.exrc = true |
| 5 | vim.o.shell = 'cmd.exe' | 5 | |
| 6 | if vim.fn.has("win32") then | ||
| 7 | vim.o.shell = 'cmd.exe' | ||
| 8 | vim.opt.rtp:append(vim.fn.expand("$HOME\\scoop\\shims")) | ||
| 9 | end | ||
| 10 | |||
| 6 | -- vim.o.shadafile = "/tmp/shada" | 11 | -- vim.o.shadafile = "/tmp/shada" |
| 7 | vim.opt.rtp:append("C:\\Users\\max\\scoop\\shims") | ||
| 8 | 12 | ||
| 9 | -- only on Linux... | 13 | -- only on Linux... |
| 10 | -- vim.o.shadafile = (os.getenv("XDG_CACHE_HOME") or | 14 | -- vim.o.shadafile = (os.getenv("XDG_CACHE_HOME") or |
