diff options
Diffstat (limited to 'store/home/config/nvim/lua/setup/win.lua')
-rw-r--r-- | store/home/config/nvim/lua/setup/win.lua | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/store/home/config/nvim/lua/setup/win.lua b/store/home/config/nvim/lua/setup/win.lua deleted file mode 100644 index 90e168a..0000000 --- a/store/home/config/nvim/lua/setup/win.lua +++ /dev/null @@ -1,16 +0,0 @@ --- spellchecker: words pwsh --- spellchecker: ignore shellcmdflag shellredir shellpipe shellquote shellxquote -local function setup() - vim.cmd([[ - let &shell = executable('pwsh') ? 'pwsh' : 'powershell' - let &shellcmdflag = '-NoLogo -ExecutionPolicy RemoteSigned -Command [Console]::InputEncoding=[Console]::OutputEncoding=[System.Text.UTF8Encoding]::new();$PSDefaultParameterValues[''Out-File:Encoding'']=''utf8'';Remove-Alias -Force -ErrorAction SilentlyContinue tee;' - let &shellredir = '2>&1 | %%{ "$_" } | Out-File %s; exit $LastExitCode' - let &shellpipe = '2>&1 | %%{ "$_" } | tee %s; exit $LastExitCode' - set shellquote= shellxquote= - ]]) - vim.opt.completeslash = 'slash' -end - -return { - setup = setup -} |