From: Simon Ruderich Date: Mon, 26 Nov 2012 19:57:42 +0000 (+0100) Subject: after/ftplugin/mail.vim: Fix regex to remove spaces after quotes. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=64a1c72530ae08f7b6f3ed5c6fe26a0829516ed6;p=config%2Fdotfiles.git after/ftplugin/mail.vim: Fix regex to remove spaces after quotes. Broken in 5f16623bed6d265a859e6559fb2860f80f285302. --- 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