aboutsummaryrefslogtreecommitdiff
path: root/vim/after/ftplugin/mail.vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-06-14 19:26:25 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-06-14 19:26:25 +1200
commita666a09b7761ce1fd50abe4124fa10a87f2d2123 (patch)
tree2da48fcba99815d79f6917287754ccd7d3b73b47 /vim/after/ftplugin/mail.vim
parentMerge branch 'release/v6.1.0' into develop (diff)
downloaddotfiles-a666a09b7761ce1fd50abe4124fa10a87f2d2123.tar.gz
dotfiles-a666a09b7761ce1fd50abe4124fa10a87f2d2123.zip
Ensure only actual quoted mail lines are reshaped
Diffstat (limited to 'vim/after/ftplugin/mail.vim')
-rw-r--r--vim/after/ftplugin/mail.vim2
1 files changed, 1 insertions, 1 deletions
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