From a5b8367fd501fa2b28ea25518e8e22d905b2652f Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Mon, 2 Jul 2018 11:42:11 +1200 Subject: Add 'c' flag to 'formatoptions' for gitcommit This is so that quotes wrap pleasantly. --- 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 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<' -- cgit v1.2.3