home: vim: set line length in commit messages
ci/woodpecker/push/check Pipeline failed Details

I'm already getting the correct wrapping behaviour from vim-fugitive,
but the displayed width is wrong.
This commit is contained in:
Bruno BELANYI 2023-08-29 14:05:21 +00:00
parent 5b59a9cf82
commit 71a1bbd78d
1 changed files with 4 additions and 0 deletions

View File

@ -4,3 +4,7 @@ call ftplugined#check_undo_ft()
" Enable spell checking on commit messages
setlocal spell
let b:undo_ftplugin.='|setlocal spell<'
" Change max length of a line to 72 for this buffer
setlocal colorcolumn=72
let b:undo_ftplugin.='|setlocal colorcolumn<'