summaryrefslogtreecommitdiff
path: root/home/xyz/.config/nvim/init.vim
diff options
context:
space:
mode:
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 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