From 84b1c6b45aaeaf26ab0b99b52d002dea7ea4dce3 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Thu, 23 May 2019 14:16:37 +1200 Subject: Prevent unneeded capture of group in greet regex --- vim/after/ftplugin/mail.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vim/after/ftplugin') diff --git a/vim/after/ftplugin/mail.vim b/vim/after/ftplugin/mail.vim index 15277f7b..2dcdeffa 100644 --- a/vim/after/ftplugin/mail.vim +++ b/vim/after/ftplugin/mail.vim @@ -8,7 +8,7 @@ if line('.') == 1 && col('.') == 1 " Check this line to see if it's a generic hello or hello-name greeting that " we can just strip out; delete any following lines too, if they're blank - if getline('.') =~? '^>\s*\%(\s*\%(\s*$' delete -- cgit v1.2.3