@@ -44,3 +44,14 @@ vim.o.timeoutlen = 300
|
||||
-- Options for nvim-tree
|
||||
g.loaded_netrw = 1
|
||||
g.loaded_netrwPlugin = 1
|
||||
|
||||
-- windows
|
||||
if vim.fn.has("win32") == 1 then
|
||||
vim.o.shell = "pwsh"
|
||||
vim.o.shellcmdflag =
|
||||
"-NoLogo -NoProfile -ExecutionPolicy RemoteSigned -Command [Console]::InputEncoding=[Console]::OutputEncoding=[System.Text.Encoding]::UTF8;"
|
||||
vim.o.shellredir = "2>&1 | Out-File -Encoding UTF8 %s; exit $LastExitCode"
|
||||
vim.o.shellpipe = "2>&1 | Out-File -Encoding UTF8 %s; exit $LastExitCode"
|
||||
vim.o.shellquote = ""
|
||||
vim.o.shellxquote = ""
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user