Browse files

fix git commit.

  • Loading branch information...
1 parent 1ccfbb8 commit 5ac121f31b4033159eae8bed6dcdc2c0d70f0d1c @hrsh7th committed Oct 7, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 autoload/vcs/git/commit.vim
View
2 autoload/vcs/git/commit.vim
@@ -18,7 +18,7 @@ function! vcs#git#commit#do(args)
augroup VimUniteVcsGitCommit
autocmd!
- autocmd! BufWinEnter <buffer> setlocal bufhidden=delete nobuflisted noswapfile
+ autocmd! BufWinEnter <buffer> setlocal bufhidden=wipe nobuflisted noswapfile
autocmd! BufWritePre <buffer> g/^#\|^\s*$/d
autocmd! BufWinLeave <buffer> call s:commit()
augroup END

0 comments on commit 5ac121f

Please sign in to comment.