Spell check git commits
This commit is contained in:
parent
f587e307e8
commit
1eff8c03ec
1 changed files with 2 additions and 1 deletions
3
vimrc
3
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+=-
|
||||
|
|
Loading…
Add table
Reference in a new issue