diff --git a/vimrc b/vimrc index ed5fbe5..8d61dd5 100644 --- a/vimrc +++ b/vimrc @@ -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+=-