From e3bef0e329bbd7fa6b8417edd15f3dc08f5fd9dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20D=C3=A9saulniers?= Date: Thu, 19 Jan 2017 22:17:52 -0500 Subject: [PATCH] disable autocmd on file write --- plugin/AutoSave.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/AutoSave.vim b/plugin/AutoSave.vim index f8ea08c..175c753 100644 --- a/plugin/AutoSave.vim +++ b/plugin/AutoSave.vim @@ -89,7 +89,7 @@ endfunction function! DoSave() if g:auto_save_write_all_buffers >= 1 - silent! wa + noautocmd silent! wa else silent! w endif