Skip to content

Commit

Permalink
simplified auto command to save file
Browse files Browse the repository at this point in the history
  • Loading branch information
ashwinravianandan committed Oct 15, 2015
1 parent 4df7975 commit 957d1b7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions plugin/bookmark.vim
Original file line number Diff line number Diff line change
Expand Up @@ -423,8 +423,7 @@ function! s:set_up_auto_save(file)
augroup bm_auto_save
autocmd!
autocmd BufWinEnter * call s:add_missing_signs(expand('<afile>:p'))
autocmd BufLeave * call s:auto_save()
autocmd VimLeave * call s:auto_save()
autocmd BufLeave,VimLeave * call s:auto_save()
augroup END
endif
endfunction
Expand Down

0 comments on commit 957d1b7

Please sign in to comment.