1 " notmuch show mode syntax file
3 syntax cluster nmShowMsgDesc contains=nmShowMsgDescWho,nmShowMsgDescDate,nmShowMsgDescTags
4 syntax match nmShowMsgDescWho /[^)]\+)/ contained
5 syntax match nmShowMsgDescDate / ([^)]\+[0-9]) / contained
6 syntax match nmShowMsgDescTags /([^)]\+)$/ contained
8 syntax cluster nmShowMsgHead contains=nmShowMsgHeadKey,nmShowMsgHeadVal
9 syntax match nmShowMsgHeadKey /^[^:]\+: / contained
10 syntax match nmShowMsgHeadVal /^\([^:]\+: \)\@<=.*/ contained
12 syntax cluster nmShowMsgBody contains=@nmShowMsgBodyMail,@nmShowMsgBodyGit
13 syntax include @nmShowMsgBodyMail syntax/mail.vim
15 " git-diff.vim marks up diffs in emails, see README for details
16 silent! syntax include @nmShowMsgBodyGit syntax/git-diff.vim
18 highlight nmShowMsgDescWho term=reverse cterm=reverse gui=reverse
19 highlight link nmShowMsgDescDate Type
20 highlight link nmShowMsgDescTags String
22 highlight link nmShowMsgHeadKey Macro
23 "highlight link nmShowMsgHeadVal NONE
25 highlight Folded term=reverse ctermfg=LightGrey ctermbg=Black guifg=LightGray guibg=Black