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 5613ef8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugin/AutoSave.vim
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,9 @@ endfunction

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

Expand Down

0 comments on commit 5613ef8

Please sign in to comment.