]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
after/ftplugin/mail.vim: Fix regex to remove spaces after quotes.
authorSimon Ruderich <simon@ruderich.org>
Mon, 26 Nov 2012 19:57:42 +0000 (20:57 +0100)
committerSimon Ruderich <simon@ruderich.org>
Mon, 26 Nov 2012 19:57:42 +0000 (20:57 +0100)
Broken in 5f16623bed6d265a859e6559fb2860f80f285302.

vim/after/ftplugin/mail.vim

index 68eaf6f508639f3e6288f23f337eb4b653d5ccf4..5270ae7eb930c7162afe9e186c5c57313fbe1306 100644 (file)
@@ -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