From 54a7df40a25ff7584e981ac35d121ac89cfa637e Mon Sep 17 00:00:00 2001 From: Bart Trojanowski Date: Sun, 22 Nov 2009 00:42:42 -0500 Subject: [PATCH] vim: fix an error in the logic for finding message under cursor in show screen --- 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 2d2f9785..aece360b 100644 --- a/vim/plugin/notmuch.vim +++ b/vim/plugin/notmuch.vim @@ -496,7 +496,7 @@ function! s:NM_show_message_id() let info = b:nm_raw_info let lnum = line('.') for msg in info['msgs'] - if lnum < msg['start'] + if lnum >= msg['start'] continue endif -- 2.26.2