summaryrefslogtreecommitdiff
path: root/home/xyz/.config/nvim/init.vim
diff options
context:
space:
mode:
authorXiao Pan <xyz@flylightning.xyz>2025-03-29 04:21:05 -0700
committerXiao Pan <xyz@flylightning.xyz>2025-03-29 18:30:30 -0700
commitfa1d10ee1eeccabec411b87d54fd1e0cdb7512ec (patch)
treec976a122534526da357950ffaeba987449ea98b2 /home/xyz/.config/nvim/init.vim
parent501e9c618c16efe78944fa1e93ba1a2c56e089b0 (diff)
upstream name change
https://github.com/neovim/neovim/issues/33075 https://github.com/neovim/neovim/pull/33122
Diffstat (limited to 'home/xyz/.config/nvim/init.vim')
-rw-r--r--home/xyz/.config/nvim/init.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/home/xyz/.config/nvim/init.vim b/home/xyz/.config/nvim/init.vim
index 0602a31f..ebad7d99 100644
--- a/home/xyz/.config/nvim/init.vim
+++ b/home/xyz/.config/nvim/init.vim
@@ -111,8 +111,8 @@ augroup mycmd
" https://vi.stackexchange.com/questions/21784/vim-edit-anyway-without-prompting
" https://github.com/neovim/neovim/pull/25336
" https://github.com/neovim/neovim/commit/29fe883aa9166bdbcae3f935523c75a8aa56fe45
- " remove nvim_swapfile autocmd is more correct, without also works but I think it change to 'e' then to 'o' which is not ideal, also it will echo "W325: ..." which is not what I want
- autocmd! nvim_swapfile
+ " remove nvim.swapfile autocmd is more correct, without also works but I think it change to 'e' then to 'o' which is not ideal, also it will echo "W325: ..." which is not what I want
+ autocmd! nvim.swapfile
autocmd SwapExists * let v:swapchoice = 'o'
augroup END