aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Hovorka <[email protected]>2020-08-04 17:39:36 -0600
committerAdam Hovorka <[email protected]>2020-08-04 17:39:36 -0600
commitfdadc13a58ba2912ffaff4c486056fdfcc1e6373 (patch)
treec8b423ba839b6ab0e3439efc8801c88b7a48d8e6
parent0b2ba4788ea38fe5a7d071cbc218c1d4ee6bd94a (diff)
[style] Make git commit colorcolumn in vim narrower
-rw-r--r--base/vimrc2
1 files changed, 2 insertions, 0 deletions
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