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:
parent
795a8fb80d
commit
8962088de8
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue