]> git.sthu.org Git - vimconf.git/commitdiff
Activate spell check for gitcommit
authorStefan Huber <shuber@sthu.org>
Fri, 7 Sep 2018 16:44:27 +0000 (18:44 +0200)
committerStefan Huber <shuber@sthu.org>
Fri, 7 Sep 2018 16:44:27 +0000 (18:44 +0200)
init.vim

index f840aca45f21043b0d2eb2815d1035999a9c7e87..6d828c5ddca4dc2f982c9f2ab0e70ae64ff48937 100644 (file)
--- a/init.vim
+++ b/init.vim
@@ -72,7 +72,7 @@ let g:vim_markdown_frontmatter=1
 let g:vim_markdown_math=1
 
 let g:guesslang_langs=[ 'en_US', 'de_AT']
-au FileType text,markdown,mail,tex setlocal spell
+au FileType text,markdown,mail,tex,gitcommit setlocal spell
 au BufReadPost * :DetectIndent
 
 au BufEnter *.c* let b:fswitchlocs='reg:/lib/include/,rel:.'