From b398be2a0aca2b61d408535cf9496060a4ff2cfb Mon Sep 17 00:00:00 2001 From: Jonas Forsberg Date: Mon, 25 May 2020 17:45:24 +0200 Subject: [PATCH] Fixed spell check and things for commit messages --- .vimrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.vimrc b/.vimrc index 4e3a535..32665a9 100644 --- a/.vimrc +++ b/.vimrc @@ -50,6 +50,9 @@ function SetGPGOptions() endfunction 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 autocmd FileType python,doctest set ai ts=4 sw=4 sts=4 et endif