Updated prefs file

Signed-off-by: Taken <taken@mairimashita.org>
This commit is contained in:
2023-09-15 16:58:38 +02:00
parent 9d2c446a71
commit c41bb813fd
6 changed files with 27 additions and 5 deletions

View File

@@ -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