From 68c22abd9f16ed9baf9673a2e125b8c293633cdc Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Thu, 23 May 2019 11:21:29 +1200 Subject: Improve opening-greeting strip from mail ftplugin --- vim/after/ftplugin/mail.vim | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'vim') diff --git a/vim/after/ftplugin/mail.vim b/vim/after/ftplugin/mail.vim index 457135ef..c9cd6555 100644 --- a/vim/after/ftplugin/mail.vim +++ b/vim/after/ftplugin/mail.vim @@ -6,9 +6,9 @@ if line('.') == 1 && col('.') == 1 " no quote, which is fine call search('\m^>', 'c') - " Check this line to see if it's a generic hello-name greeting that we can - " just strip out; delete any following lines too, if they're blank - if getline('.') =~? '^>\s*\%(\s*\%($' delete -- cgit v1.2.3