Spell check git commits

This commit is contained in:
Derek Prior 2014-10-28 22:35:36 -04:00
parent f587e307e8
commit 1eff8c03ec
No known key found for this signature in database
GPG key ID: 60D9C7F1019704B4

3
vimrc
View file

@ -53,8 +53,9 @@ augroup vimrcEx
" Automatically wrap at 80 characters for Markdown
autocmd BufRead,BufNewFile *.md setlocal textwidth=80
" Automatically wrap at 72 characters for git commit messages
" Automatically wrap at 72 characters and spell check git commit messages
autocmd FileType gitcommit setlocal textwidth=72
autocmd FileType gitcommit setlocal spell
" Allow stylesheets to autocomplete hyphenated words
autocmd FileType css,scss,sass setlocal iskeyword+=-