~gpanders/dotfiles

ref: f6b89e96bec11aa51e69eb2014b15919d5a9ad6b dotfiles/vim/.vim/after/ftplugin/gitcommit.vim -rw-r--r-- 231 bytes
f6b89e96Greg Anders [vim] Update plugin headers and guards 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
if &filetype !=# 'gitcommit'
  finish
endif

setlocal colorcolumn=73
setlocal textwidth=72

" warning if first line too long
match ErrorMsg /\%1l.\%>51v/

" enable spell check
setlocal spell

let b:undo_ftplugin .= '|setl cc< tw<'