From 9a709886697d00c33edc9faad82694250e6beca8 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Mon, 1 Apr 2013 23:45:26 +0200 Subject: [PATCH] ftplugin/mail.vim: Simplify regex to remove trailing whitespace. --- vim/after/ftplugin/mail.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vim/after/ftplugin/mail.vim b/vim/after/ftplugin/mail.vim index 775bba4..94af0bc 100644 --- a/vim/after/ftplugin/mail.vim +++ b/vim/after/ftplugin/mail.vim @@ -24,7 +24,7 @@ setlocal textwidth=65 " Remove trailing whitespace after quotes. -silent! %s/\(^>.\{-}\)\@<=\s\+$// +silent! %s/^>.\{-}\zs\s\+$// " Remove spaces between quotes (> > to >>). silent! %s/^>\+\zs >/>/g silent! %s/^>\+\zs >/>/g -- 2.45.2