" Avoid excessive line length in commit comments
setlocal textwidth=70
" Highlight these lines
exec '2match Todo /\%>' .  &textwidth . 'v.\+/'
" Undo the match when leaving, and remove the hook then too.
augroup gitcommit
  au!
  au BufLeave * execute "2match none | augroup gitcommit | au!" | execute "augroup END"
augroup END
" Do a spell check
set spell

" Avoid excessive line length in commit comments
setlocal textwidth=70
" Highlight these lines
exec '2match Todo /\%>' .  &textwidth . 'v.\+/'
" Undo the match when leaving, and remove the hook then too.
augroup gitcommit
  au!
  au BufLeave * execute "2match none | augroup gitcommit | au!" | execute "augroup END"
augroup END

" Do a spell check
set spell

" Use two spaces for a tab
set tabstop=2

Use two spaces for a tab in commit messages when edited in vim
Use two spaces for a tab in commit messages when edited in vim

antontsv/.files