From 9976ad11443db4fee0a16a115195c9b2d926afae Mon Sep 17 00:00:00 2001 From: Gardouille Date: Thu, 1 Dec 2022 15:34:04 +0100 Subject: [PATCH] Update textwidth and colorcolumn for git Color a first column at 51 for subject with maximum 50 characters. Color a second column at 72 characters for body content + wrap it. --- vimrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vimrc b/vimrc index 43e45f6..814a861 100644 --- a/vimrc +++ b/vimrc @@ -82,8 +82,8 @@ set encoding=utf-8 set fileencoding=utf-8 " Specific to git commit (COMMIT_EDITMSG) {{{ -autocmd Filetype gitcommit setlocal textwidth=50 -autocmd Filetype gitcommit setlocal colorcolumn=51 +autocmd Filetype gitcommit setlocal textwidth=72 +autocmd Filetype gitcommit setlocal colorcolumn=51,72 " }}} " Path pour la recherche de fichier avec :find, :sfind et :tabfind