mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-25 10:54:52 +01:00
6ee07a9c6d
As discussed in id:871udhcmks.fsf@zancas.localnet, notmuch-vim doesn't really meet the standards of the CLI, emacs interface, or python bindings in terms of being well maintained.
24 lines
994 B
VimL
24 lines
994 B
VimL
" notmuch show mode syntax file
|
|
|
|
syntax cluster nmShowMsgDesc contains=nmShowMsgDescWho,nmShowMsgDescDate,nmShowMsgDescTags
|
|
syntax match nmShowMsgDescWho /[^)]\+)/ contained
|
|
syntax match nmShowMsgDescDate / ([^)]\+[0-9]) / contained
|
|
syntax match nmShowMsgDescTags /([^)]\+)$/ contained
|
|
|
|
syntax cluster nmShowMsgHead contains=nmShowMsgHeadKey,nmShowMsgHeadVal
|
|
syntax match nmShowMsgHeadKey /^[^:]\+: / contained
|
|
syntax match nmShowMsgHeadVal /^\([^:]\+: \)\@<=.*/ contained
|
|
|
|
syntax cluster nmShowMsgBody contains=@nmShowMsgBodyMail,@nmShowMsgBodyGit
|
|
syntax include @nmShowMsgBodyMail syntax/mail.vim
|
|
|
|
silent! syntax include @nmShowMsgBodyGit syntax/notmuch-git-diff.vim
|
|
|
|
highlight nmShowMsgDescWho term=reverse cterm=reverse gui=reverse
|
|
highlight link nmShowMsgDescDate Type
|
|
highlight link nmShowMsgDescTags String
|
|
|
|
highlight link nmShowMsgHeadKey Macro
|
|
"highlight link nmShowMsgHeadVal NONE
|
|
|
|
highlight Folded term=reverse ctermfg=LightGrey ctermbg=Black guifg=LightGray guibg=Black
|