aboutsummaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua8
1 files changed, 6 insertions, 2 deletions
diff --git a/init.lua b/init.lua
index e69b081..c710f99 100644
--- a/init.lua
+++ b/init.lua
@@ -2,9 +2,13 @@ vim.cmd('source ~/.vim/vimrc')
2 2
3vim.o.termguicolors = true 3vim.o.termguicolors = true
4vim.o.exrc = true 4vim.o.exrc = true
5vim.o.shell = 'cmd.exe' 5
6if vim.fn.has("win32") then
7 vim.o.shell = 'cmd.exe'
8 vim.opt.rtp:append(vim.fn.expand("$HOME\\scoop\\shims"))
9end
10
6-- vim.o.shadafile = "/tmp/shada" 11-- vim.o.shadafile = "/tmp/shada"
7vim.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
..