2009-11-18 21:00:43 -05:00
|
|
|
" notmuch show mode syntax file
|
|
|
|
|
2009-11-20 01:15:00 -05:00
|
|
|
syntax cluster nmShowMsgDesc contains=nmShowMsgDescWho,nmShowMsgDescDate,nmShowMsgDescTags
|
|
|
|
syntax match nmShowMsgDescWho /[^)]\+)/ contained
|
|
|
|
syntax match nmShowMsgDescDate / ([^)]\+[0-9]) / contained
|
|
|
|
syntax match nmShowMsgDescTags /([^)]\+)$/ contained
|
2009-11-19 16:20:16 -05:00
|
|
|
|
2009-11-20 01:15:00 -05:00
|
|
|
syntax cluster nmShowMsgHead contains=nmShowMsgHeadKey,nmShowMsgHeadVal
|
|
|
|
syntax match nmShowMsgHeadKey /^[^:]\+: / contained
|
|
|
|
syntax match nmShowMsgHeadVal /^\([^:]\+: \)\@<=.*/ contained
|
2009-11-18 21:00:43 -05:00
|
|
|
|
2009-11-20 01:15:00 -05:00
|
|
|
syntax cluster nmShowMsgBody contains=@nmShowMsgBodyMail,@nmShowMsgBodyGit
|
|
|
|
syntax include @nmShowMsgBodyMail syntax/mail.vim
|
2009-11-23 09:28:40 -05:00
|
|
|
|
2010-06-05 14:12:42 +03:00
|
|
|
silent! syntax include @nmShowMsgBodyGit syntax/notmuch-git-diff.vim
|
2009-11-20 01:15:00 -05:00
|
|
|
|
|
|
|
highlight nmShowMsgDescWho term=reverse cterm=reverse gui=reverse
|
|
|
|
highlight link nmShowMsgDescDate Type
|
|
|
|
highlight link nmShowMsgDescTags String
|
|
|
|
|
|
|
|
highlight link nmShowMsgHeadKey Macro
|
|
|
|
"highlight link nmShowMsgHeadVal NONE
|
2009-11-19 16:20:16 -05:00
|
|
|
|
|
|
|
highlight Folded term=reverse ctermfg=LightGrey ctermbg=Black guifg=LightGray guibg=Black
|