From a666a09b7761ce1fd50abe4124fa10a87f2d2123 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Fri, 14 Jun 2019 19:26:25 +1200 Subject: Ensure only actual quoted mail lines are reshaped --- vim/after/ftplugin/mail.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vim/after') diff --git a/vim/after/ftplugin/mail.vim b/vim/after/ftplugin/mail.vim index cfb738a1..260b0363 100644 --- a/vim/after/ftplugin/mail.vim +++ b/vim/after/ftplugin/mail.vim @@ -45,7 +45,7 @@ for lnum in range(1, line('$')) let line = getline(lnum) " Get the leading quote string, if any; stop if there isn't one - let quote = matchstr(line, '^[> ]\+') + let quote = matchstr(line, '^>[> ]*') if strlen(quote) == 0 continue endif -- cgit v1.2.3