From fdadc13a58ba2912ffaff4c486056fdfcc1e6373 Mon Sep 17 00:00:00 2001 From: Adam Hovorka Date: Tue, 4 Aug 2020 17:39:36 -0600 Subject: [style] Make git commit colorcolumn in vim narrower --- base/vimrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/base/vimrc b/base/vimrc index 063063c..12640f8 100644 --- a/base/vimrc +++ b/base/vimrc @@ -271,6 +271,8 @@ au BufNewFile,BufRead * call SetLocalOptions(bufname("%")) au Syntax json normal zR au BufNewFile,BufRead *.less set filetype=less au! BufWritePost $MYVIMRC source $MYVIMRC +autocmd FileType gitcommit set textwidth=72 +autocmd FileType gitcommit set colorcolumn=73 au! BufRead,BufNewFile *.md set filetype=markdown au! BufRead,BufNewFile *.md set spell pa! matchit -- cgit v1.2.3-70-g09d2