-- Options are automatically loaded before lazy.nvim startup -- Default options that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/options.lua -- Add any additional options here if vim.loop.os_uname().sysname == "Windows_NT" then -- set default shell to powershell on Windows vim.opt.shell = "powershell.exe" vim.opt.shellcmdflag = "-Command" vim.opt.shellquote = "" vim.opt.shellxquote = "" vim.opt.shellredir = "2>&1 | Out-File -Encoding ASCII %s; exit $LastExitCode" vim.opt.shellpipe = "2>&1 | Out-File -Encoding ASCII %s; exit $LastExitCode" end