aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-08-30 09:44:46 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-08-30 09:44:46 +1200
commitef90fd3d15e77016c6552655c24c4a86c6e8567a (patch)
tree1402852670551011a5b2326607ff44816ef67612
parentee2e981cf9f7aa5f9a2d98979d49201ad522ca71 (diff)
downloaddotfiles-ef90fd3d15e77016c6552655c24c4a86c6e8567a.tar.gz
Leave final blank for mail line squeeze, not first
-rw-r--r--vim/autoload/mail.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/vim/autoload/mail.vim b/vim/autoload/mail.vim
index f498006b..967aac17 100644
--- a/vim/autoload/mail.vim
+++ b/vim/autoload/mail.vim
@@ -76,7 +76,7 @@ function! mail#ContractMultipleBlankLines() abort
if getline(l:num) !~# '^[> ]*$'
let l:blank = 0
elseif l:blank
- let l:deletions += [l:num]
+ let l:deletions += [l:num - 1]
else
let l:blank = 1
endif