aboutsummaryrefslogtreecommitdiff
path: root/vim/after/ftplugin/gitcommit.vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-07-07 01:06:23 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-07-07 01:06:23 +1200
commit2fc20ae4ed9fb78a79826a1fc2e983d84763b2b0 (patch)
tree23e85d9eac307a1f3d81f4c5e43cf3230d34facd /vim/after/ftplugin/gitcommit.vim
parentGet 'shiftwidth' in Vim Perl indent portably (diff)
downloaddotfiles-2fc20ae4ed9fb78a79826a1fc2e983d84763b2b0.tar.gz
dotfiles-2fc20ae4ed9fb78a79826a1fc2e983d84763b2b0.zip
Wrap comments with `gq` in Git commit messages
I like quoting things in Git commit messages, as if they were mail messages. This was supposed to be fixed in commit a5b8367, but I didn't add all the necessary flags.
Diffstat (limited to 'vim/after/ftplugin/gitcommit.vim')
-rw-r--r--vim/after/ftplugin/gitcommit.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/vim/after/ftplugin/gitcommit.vim b/vim/after/ftplugin/gitcommit.vim
index b7538c9c..d903e84e 100644
--- a/vim/after/ftplugin/gitcommit.vim
+++ b/vim/after/ftplugin/gitcommit.vim
@@ -14,6 +14,6 @@ let b:undo_ftplugin = b:undo_ftplugin
" Make angle brackets behave like mail quotes
setlocal comments+=n:>
-setlocal formatoptions+=cor
+setlocal formatoptions+=coqr
let b:undo_ftplugin = b:undo_ftplugin
\ . '|setlocal comments< formatoptions<'