Enable spell checking for git commits.

Source: http://stackoverflow.com/questions/1691060/vim-set-spell-in-file-git-commit-editmsg
This commit is contained in:
Fabio Pelosin 2012-05-15 14:55:49 +02:00
parent 5b8742e226
commit 38bcefdf6e

View File

@ -0,0 +1,7 @@
if exists("b:did_ftplugin")
finish
endif
let b:did_ftplugin = 1 " Don't load twice in one buffer
setlocal spell