From 64a1c72530ae08f7b6f3ed5c6fe26a0829516ed6 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Mon, 26 Nov 2012 20:57:42 +0100 Subject: [PATCH] after/ftplugin/mail.vim: Fix regex to remove spaces after quotes. Broken in 5f16623bed6d265a859e6559fb2860f80f285302. --- 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 68eaf6f..5270ae7 100644 --- a/vim/after/ftplugin/mail.vim +++ b/vim/after/ftplugin/mail.vim @@ -24,7 +24,7 @@ setlocal textwidth=65 " Replace trailing whitespace after quotes. -silent! %s/\(^>.\+\)\@<=\s\+$// +silent! %s/\(^>.\{-}\)\@<=\s\+$// " Remove spaces between quotes (> > to >>). silent! %s/^>\+\zs >/>/g silent! %s/^>\+\zs >/>/g -- 2.43.2