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
commit6dcd7889795ba803c8545dd8f34555aa1f5eb641 (patch)
tree78a490269bac01d01c8abb299b0d7ebcaef199a4
parent8ccef5026f306f4faed7f8971b19ede2e3212315 (diff)
upstream name change
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 d1b4501a..b5c7be08 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