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.
This commit is contained in:
parent
4f94ced9ff
commit
9976ad1144
4
vimrc
4
vimrc
|
@ -82,8 +82,8 @@ set encoding=utf-8
|
||||||
set fileencoding=utf-8
|
set fileencoding=utf-8
|
||||||
|
|
||||||
" Specific to git commit (COMMIT_EDITMSG) {{{
|
" Specific to git commit (COMMIT_EDITMSG) {{{
|
||||||
autocmd Filetype gitcommit setlocal textwidth=50
|
autocmd Filetype gitcommit setlocal textwidth=72
|
||||||
autocmd Filetype gitcommit setlocal colorcolumn=51
|
autocmd Filetype gitcommit setlocal colorcolumn=51,72
|
||||||
" }}}
|
" }}}
|
||||||
|
|
||||||
" Path pour la recherche de fichier avec :find, :sfind et :tabfind
|
" Path pour la recherche de fichier avec :find, :sfind et :tabfind
|
||||||
|
|
Loading…
Reference in New Issue