Changing opts

Signed-off-by: Taken <taken@mairimashita.org>
This commit is contained in:
2023-09-19 11:46:16 +02:00
parent a80e29ee1c
commit 449551fabb

View File

@@ -1,4 +1,5 @@
local g = vim.g
local o = vim.o
local opt = vim.opt
local cmd = vim.cmd
@@ -10,8 +11,8 @@ opt.fillchars = "eob: "
g.mapleader = " "
g.maplocalleader = "."
-- opt.cursorline = true
-- opt.cursorcolumn = true
opt.cursorline = true
opt.cursorcolumn = true
opt.nu = true
opt.relativenumber = true
@@ -53,11 +54,11 @@ g.loaded_netrwPlugin = 1
-- windows
if vim.fn.has("win32") == 1 then
vim.o.shell = "pwsh"
vim.o.shellcmdflag =
o.shell = "pwsh"
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 = ""
o.shellredir = "2>&1 | Out-File -Encoding UTF8 %s; exit $LastExitCode"
o.shellpipe = "2>&1 | Out-File -Encoding UTF8 %s; exit $LastExitCode"
o.shellquote = ""
o.shellxquote = ""
end