change shell option to powershell on windows

This commit is contained in:
2022-02-02 20:55:48 +03:00
parent 36e9857544
commit 271b5b2736

View File

@@ -31,6 +31,10 @@ opt.fillchars:append({ eob = " " })
opt.showtabline = 2
opt.matchpairs:append({ "<:>" })
if vim.fn.has("win32") == 1 then
opt.shell = "powershell.exe" -- TODO: need to check if it works later
end
-- Settings for folds
-- wo.foldmethod = "expr"
-- wo.foldexpr = "nvim_treesitter#foldexpr()"