From a55b6aa3aa797c989a4979a13a5bd2ae11cfd4a5 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Fri, 29 Mar 2019 20:30:36 +0100 Subject: Remove grapqhl, fixes #387 --- ftplugin/gitcommit.vim | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'ftplugin/gitcommit.vim') diff --git a/ftplugin/gitcommit.vim b/ftplugin/gitcommit.vim index 177beef2..3eb77a67 100644 --- a/ftplugin/gitcommit.vim +++ b/ftplugin/gitcommit.vim @@ -17,8 +17,10 @@ let b:did_ftplugin = 1 setlocal comments=:# commentstring=#\ %s setlocal nomodeline tabstop=8 formatoptions+=tl textwidth=72 -setlocal formatoptions-=c formatoptions-=r formatoptions-=o formatoptions-=q -let b:undo_ftplugin = 'setl modeline< tabstop< formatoptions< tw< com< cms<' +setlocal formatoptions-=c formatoptions-=r formatoptions-=o formatoptions-=q formatoptions+=n +setlocal formatlistpat+=\\\|^\\s*[-*+]\\s\\+ + +let b:undo_ftplugin = 'setl modeline< tabstop< formatoptions< tw< com< cms< formatlistpat<' if exists("g:no_gitcommit_commands") || v:version < 700 finish -- cgit v1.2.3