]> git.notmuchmail.org Git - notmuch/blobdiff - vim/plugin/notmuch.vim
vim: fix off-by-one error when removing header from message to send out
[notmuch] / vim / plugin / notmuch.vim
index ef3260ed085473a0943f9820f86f0994d993a45c..a4d04e26104ee4da4358cc06bea8e35689c52752 100644 (file)
@@ -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