aboutsummaryrefslogtreecommitdiff
path: root/vim/after/ftplugin/gitcommit.vim
blob: e55ebff75ffbba0c46b296afc3f74cabd154abee (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
" Extra configuration for Git commit messages
if &filetype != 'gitcommit' || &compatible || v:version < 700
  finish
endif

" Make angle brackets behave like mail quotes
setlocal comments+=n:>
setlocal formatoptions+=coqr
let b:undo_ftplugin = b:undo_ftplugin
      \ . '|setlocal comments<'
      \ . '|setlocal formatoptions<'