From d134275ecf8788973bc13d9151ced55e61c44713 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Wed, 29 Apr 2020 13:49:41 +0100 Subject: [PATCH] vim: Add configuration for git commits --- tag-vim/vimrc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tag-vim/vimrc b/tag-vim/vimrc index 1b44dcd..e7fa4ab 100644 --- a/tag-vim/vimrc +++ b/tag-vim/vimrc @@ -3,3 +3,11 @@ colo slate set relativenumber set number relativenumber + +au FileType gitcommit setlocal colorcolumn=50,72 +au FileType gitcommit setlocal textwidth=72 + +au FileType gitcommit highlight ColorColumn ctermbg=8 + +set complete+=kspell +au FileType gitcommit setlocal spell