mirror of
1
0
Fork 0

update : add gitcommit filetype to 50/72 formats

Add  to  `au Filetype gitcommit setlocal spell textwidth=72` to~/.vimrc to add spell checking and automatic wrapping at the recommended 72 columns to commit messages.It's helpful to obey the 50/72 formats - https://github.com/thoughtbot/dotfiles/blob/master/gitmessage
This commit is contained in:
Yilong Liu 2016-01-26 15:08:11 +08:00
parent 795a8fb80d
commit 8962088de8
1 changed files with 1 additions and 0 deletions

View File

@ -54,3 +54,4 @@ endfunction
au FileType coffee call CoffeeScriptFold()
au FileType gitcommit call setpos('.', [0, 1, 1, 0])
au Filetype gitcommit setlocal spell textwidth=72