diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-07-02 11:42:11 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-07-02 11:42:29 +1200 |
commit | a5b8367fd501fa2b28ea25518e8e22d905b2652f (patch) | |
tree | a594efc9b90f5f67b5e1b968821072cd4a1ff1e4 | |
parent | Correct <C-L> mapping (diff) | |
download | dotfiles-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.vim | 2 |
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<' |