Skip to content

Commit

Permalink
disable autocmd on file write
Browse files Browse the repository at this point in the history
  • Loading branch information
sim590 committed Jan 20, 2017
1 parent 8301d9a commit e3bef0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/AutoSave.vim
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ endfunction

function! DoSave()
if g:auto_save_write_all_buffers >= 1
silent! wa
noautocmd silent! wa
else
silent! w
endif
Expand Down

0 comments on commit e3bef0e

Please sign in to comment.