diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-14 19:26:25 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-14 19:26:25 +1200 |
commit | a666a09b7761ce1fd50abe4124fa10a87f2d2123 (patch) | |
tree | 2da48fcba99815d79f6917287754ccd7d3b73b47 /vim/after | |
parent | Merge branch 'release/v6.1.0' into develop (diff) | |
download | dotfiles-a666a09b7761ce1fd50abe4124fa10a87f2d2123.tar.gz dotfiles-a666a09b7761ce1fd50abe4124fa10a87f2d2123.zip |
Ensure only actual quoted mail lines are reshaped
Diffstat (limited to 'vim/after')
-rw-r--r-- | vim/after/ftplugin/mail.vim | 2 |
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 |