From ea3ccca784bbdb7c9df6326d3784ae056f0e590e Mon Sep 17 00:00:00 2001 From: Klesh Wong Date: Wed, 4 Aug 2021 21:10:52 +0800 Subject: [PATCH] feat: auto set colorcolumn for git commit msg file --- cli/vim/init.vim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cli/vim/init.vim b/cli/vim/init.vim index 68c5c61..fd8bca0 100644 --- a/cli/vim/init.vim +++ b/cli/vim/init.vim @@ -335,3 +335,6 @@ autocmd FileType yaml :set cursorcolumn highlight clear SpellBad highlight SpellBad cterm=underline highlight SpellBad gui=undercurl + +" commitmsg +autocmd BufEnter,BufRead commitmsg.md :set colorcolumn=100