aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-07-02 11:42:11 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-07-02 11:42:29 +1200
commita5b8367fd501fa2b28ea25518e8e22d905b2652f (patch)
treea594efc9b90f5f67b5e1b968821072cd4a1ff1e4
parentCorrect <C-L> mapping (diff)
downloaddotfiles-a5b8367fd501fa2b28ea25518e8e22d905b2652f.tar.gz
dotfiles-a5b8367fd501fa2b28ea25518e8e22d905b2652f.zip
Add 'c' flag to 'formatoptions' for gitcommit
This is so that quotes wrap pleasantly.
-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 761ebc81..b7538c9c 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+=or
+setlocal formatoptions+=cor
let b:undo_ftplugin = b:undo_ftplugin
\ . '|setlocal comments< formatoptions<'