aboutsummaryrefslogtreecommitdiff
path: root/store/home/config/nvim/lua/setup/win.lua
diff options
context:
space:
mode:
authorYuqian Yang <crupest@crupest.life>2025-06-04 18:42:09 +0800
committerYuqian Yang <crupest@crupest.life>2025-06-04 18:43:00 +0800
commitabf1eb828f956ac95b76b252cc8fe0198090eca8 (patch)
tree5246b651fc5ddb31d74fe273b08ee2f533f8c591 /store/home/config/nvim/lua/setup/win.lua
parent30d3f94f11996259ca968e5f732f03e0d10e5233 (diff)
downloadcrupest-abf1eb828f956ac95b76b252cc8fe0198090eca8.tar.gz
crupest-abf1eb828f956ac95b76b252cc8fe0198090eca8.tar.bz2
crupest-abf1eb828f956ac95b76b252cc8fe0198090eca8.zip
chore(config): move dir.
Diffstat (limited to 'store/home/config/nvim/lua/setup/win.lua')
-rw-r--r--store/home/config/nvim/lua/setup/win.lua16
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
-}