Skip to content

Commit 1eff8c0

Browse files
committed
Spell check git commits
1 parent f587e30 commit 1eff8c0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

vimrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,9 @@ augroup vimrcEx
5353
" Automatically wrap at 80 characters for Markdown
5454
autocmd BufRead,BufNewFile *.md setlocal textwidth=80
5555

56-
" Automatically wrap at 72 characters for git commit messages
56+
" Automatically wrap at 72 characters and spell check git commit messages
5757
autocmd FileType gitcommit setlocal textwidth=72
58+
autocmd FileType gitcommit setlocal spell
5859

5960
" Allow stylesheets to autocomplete hyphenated words
6061
autocmd FileType css,scss,sass setlocal iskeyword+=-

0 commit comments

Comments
 (0)