commit 43634561d513e193dec65591c190b144fbdfde76
parent 0d5c4324f37c292a214bb6a8081c2ec3c369a81a
Author: Alex Balgavy <a.balgavy@gmail.com>
Date: Sun, 5 May 2019 16:56:48 +0200
vim: check spelling for git commit
Former-commit-id: bcacd9a949269d45cad83f666ee4a24750a4791f
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/vim/autocmd.vimrc b/vim/autocmd.vimrc
@@ -1,4 +1,4 @@
-augroup configgroup
+augroup sets
autocmd!
autocmd BufRead,BufNewFile *.md setlocal conceallevel=2
autocmd FileType markdown setlocal conceallevel=2 wrap
@@ -8,6 +8,7 @@ augroup configgroup
autocmd FileType qf setlocal nocursorline
autocmd InsertEnter * setlocal nocursorline
autocmd InsertLeave * setlocal cursorline
+ autocmd FileType gitcommit setlocal spell spelllang=en
augroup END
augroup insertmaps