X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=vim%2Fsyntax%2Fnotmuch-show.vim;h=20bcc3996d42c908c09e03c909105b241599cb1f;hp=20c6b88feaa4a172c7f0b980126e013ba5de8685;hb=8bafbac75c53631d0db351e20fb5f5bb0fcfb48e;hpb=010eac8b434eee317b0d28eac9bcf544fc6994d1 diff --git a/vim/syntax/notmuch-show.vim b/vim/syntax/notmuch-show.vim index 20c6b88f..20bcc399 100644 --- a/vim/syntax/notmuch-show.vim +++ b/vim/syntax/notmuch-show.vim @@ -11,7 +11,9 @@ syntax match nmShowMsgHeadVal /^\([^:]\+: \)\@<=.*/ contained syntax cluster nmShowMsgBody contains=@nmShowMsgBodyMail,@nmShowMsgBodyGit syntax include @nmShowMsgBodyMail syntax/mail.vim -syntax include @nmShowMsgBodyGit syntax/git-diff.vim + +" git-diff.vim marks up diffs in emails, see README for details +silent! syntax include @nmShowMsgBodyGit syntax/git-diff.vim highlight nmShowMsgDescWho term=reverse cterm=reverse gui=reverse highlight link nmShowMsgDescDate Type