From 7c9de5225161ac05bbf49a79416a76fe57995b0e Mon Sep 17 00:00:00 2001 From: Simon Hengel Date: Fri, 6 Jun 2025 10:46:21 +0700 Subject: [PATCH] Use `:wall` instead of `:bufdo update` --- plugin/AutoSave.vim | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/plugin/AutoSave.vim b/plugin/AutoSave.vim index 3166f61..3725721 100644 --- a/plugin/AutoSave.vim +++ b/plugin/AutoSave.vim @@ -124,9 +124,7 @@ endfunction function DoSave() if g:auto_save_write_all_buffers >= 1 - let current_buf = bufnr('%') - silent! bufdo update - execute 'buffer' . current_buf + silent! wall else silent! update endif