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:
parent
5b8742e226
commit
38bcefdf6e
7
vim/ftplugin/gitcommit.vim
Normal file
7
vim/ftplugin/gitcommit.vim
Normal 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
|
Loading…
Reference in New Issue
Block a user