From 2fc20ae4ed9fb78a79826a1fc2e983d84763b2b0 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sat, 7 Jul 2018 01:06:23 +1200 Subject: 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. --- vim/after/ftplugin/gitcommit.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vim/after/ftplugin/gitcommit.vim') 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<' -- cgit v1.2.3