summaryrefslogtreecommitdiff
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
commit4dab77ca87c0bb6c792e3579326fcf94a4a33ec0 (patch)
treefa633482765c11a8a0706cb90001c8e1c2cf250f
parent37fd368178875059f7d43bd10dd719f5712af704 (diff)
upstream name changeib
https://github.com/neovim/neovim/issues/33075 https://github.com/neovim/neovim/pull/33122
-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