vim:ftplug:gitcommit:TODO: Adjust subject length limit

This commit is contained in:
2024-10-16 14:55:25 +02:00
parent 28fe5de626
commit b61894fcc9
2 changed files with 6 additions and 0 deletions

View File

@@ -7,3 +7,9 @@ setlocal spell spelllang=en
" Disable gutentags as it seems to regenerate the entire tags file when editing " Disable gutentags as it seems to regenerate the entire tags file when editing
" git-commits... " git-commits...
let g:gutentags_enabled = 0 let g:gutentags_enabled = 0
" Red highlight of overflow should come at 60 chars, not 50.
" TODO: highlight chars >50, but <60 in yellow, see
" /usr/share/nvim/runtime/syntax/gitcommit.vim
" (see a376ff7b784c ("hooks:commit-msg: Relax subject length limit to 60"))
"let g:gitcommit_summary_length = 60

View File