]> git.notmuchmail.org Git - notmuch/blobdiff - vim/plugin/notmuch.vim
vim: fix an error in the logic for finding message under cursor in show screen
[notmuch] / vim / plugin / notmuch.vim
index 2d2f9785954cabe039726903c0fea16e9d760662..aece360b663f8b95660a217e2a6101211da37b02 100644 (file)
@@ -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