diff options
author | Bart Trojanowski <bart@jukie.net> | 2009-11-27 14:02:25 -0500 |
---|---|---|
committer | Bart Trojanowski <bart@jukie.net> | 2009-11-27 14:02:25 -0500 |
commit | fd805c16c3fdcc4170a42d3cacb9b16cdfa11ff7 (patch) | |
tree | ce29e3a61c5f799e46a16689dd134ae63019e69c /vim | |
parent | b76852dcc517dc3fc754c26b438f0875e4cfbb3f (diff) |
vim: fix off-by-one error when removing header from message to send out
Diffstat (limited to 'vim')
-rw-r--r-- | vim/plugin/notmuch.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vim/plugin/notmuch.vim b/vim/plugin/notmuch.vim index ef3260ed..a4d04e26 100644 --- a/vim/plugin/notmuch.vim +++ b/vim/plugin/notmuch.vim @@ -938,7 +938,7 @@ function! s:NM_compose_send() let lnum = lnum + 1 let line = getline(lnum) endwhile - let body_starts = lnum + 1 + let body_starts = lnum exec printf('0,%dd', body_starts) write |