From 4f7a481060c9b8bb77f1ce4c03b9e59cf4c27330 Mon Sep 17 00:00:00 2001 From: lucas8 Date: Sun, 19 Apr 2015 13:08:02 +0200 Subject: [PATCH] Show attachments on show mode. --- plugin/notmuch.vim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugin/notmuch.vim b/plugin/notmuch.vim index 331e930..98a8895 100644 --- a/plugin/notmuch.vim +++ b/plugin/notmuch.vim @@ -327,6 +327,9 @@ ruby << EOF b << "Cc: %s" % msg['cc'] b << "Date: %s" % msg['date'] nm_m.body_start = b.count + m.attachments.each do |att| + b << "--- %s ---" % att.filename + end b << "--- %s ---" % part.mime_type part.convert.each_line do |l| b << l.chomp