From fd805c16c3fdcc4170a42d3cacb9b16cdfa11ff7 Mon Sep 17 00:00:00 2001 From: Bart Trojanowski Date: Fri, 27 Nov 2009 14:02:25 -0500 Subject: [PATCH] vim: fix off-by-one error when removing header from message to send out --- vim/plugin/notmuch.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.26.2