diff options
author | crupest <crupest@outlook.com> | 2023-09-06 15:17:08 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2023-09-07 01:18:03 +0800 |
commit | 0b69699c6bdb8fa2ee48bc2cc713253ff5e31b44 (patch) | |
tree | dbc2c951b07a93be2d0caee14fa4e13f5cf8b077 | |
parent | fd44e13179a071b08b20a8558bd18dc44011544c (diff) | |
download | crupest-0b69699c6bdb8fa2ee48bc2cc713253ff5e31b44.tar.gz crupest-0b69699c6bdb8fa2ee48bc2cc713253ff5e31b44.tar.bz2 crupest-0b69699c6bdb8fa2ee48bc2cc713253ff5e31b44.zip |
Create copy nvim config script on Windows. Update config.
-rw-r--r-- | configs/copy-nvim-config.ps1 | 2 | ||||
-rw-r--r-- | configs/nvim/init.lua | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/configs/copy-nvim-config.ps1 b/configs/copy-nvim-config.ps1 new file mode 100644 index 0000000..799b766 --- /dev/null +++ b/configs/copy-nvim-config.ps1 @@ -0,0 +1,2 @@ +cp -Recurse -Force -Path ~/AppData/Local/nvim -Destination ~\codes\crupest\configs + diff --git a/configs/nvim/init.lua b/configs/nvim/init.lua index 0486bbd..e849071 100644 --- a/configs/nvim/init.lua +++ b/configs/nvim/init.lua @@ -1,6 +1,7 @@ vim.cmd.cd("~"); vim.opt.shell = "pwsh"; +vim.opt.fileformats = "unix,dos"; vim.opt.softtabstop = 4; vim.opt.shiftwidth = 4; vim.opt.expandtab = true; |