Fixed spell check and things for commit messages

This commit is contained in:
Jonas Forsberg 2020-05-25 17:45:24 +02:00
parent 5b6acb00ee
commit b398be2a0a
No known key found for this signature in database
GPG Key ID: F2E9818C70350CC9

3
.vimrc
View File

@ -50,6 +50,9 @@ function SetGPGOptions()
endfunction endfunction
if has("autocmd") if has("autocmd")
" To spell check all git commit messages
au BufNewFile,BufRead COMMIT_EDITMSG set spelllang=en_us spell nonumber nolist wrap linebreak
" Set filetype tab settings " Set filetype tab settings
autocmd FileType python,doctest set ai ts=4 sw=4 sts=4 et autocmd FileType python,doctest set ai ts=4 sw=4 sts=4 et
endif endif