unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
blob de0c43a1f9c3ea89c316e7fef9cd3a3b117df437 987 bytes (raw)
name: vim/syntax/notmuch-show.vim 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
 
" notmuch show mode syntax file

syntax cluster nmShowMsgDesc contains=nmShowMsgDescWho,nmShowMsgDescDate,nmShowMsgDescTags
syntax match   nmShowMsgDescWho /[^)]\+>/ contained
syntax match   nmShowMsgDescDate / [^(]\+ / 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

debug log:

solving de0c43a1 ...
found de0c43a1 in https://yhetil.org/notmuch/20210418224851.88240-12-felipe.contreras@gmail.com/
found c3a98b77 in https://yhetil.org/notmuch.git/
preparing index
index prepared:
100644 c3a98b77f62d1a58fd5a6cbcbab991671c15da01	vim/syntax/notmuch-show.vim

applying [1/1] https://yhetil.org/notmuch/20210418224851.88240-12-felipe.contreras@gmail.com/
diff --git a/vim/syntax/notmuch-show.vim b/vim/syntax/notmuch-show.vim
index c3a98b77..de0c43a1 100644

Checking patch vim/syntax/notmuch-show.vim...
Applied patch vim/syntax/notmuch-show.vim cleanly.

index at:
100644 de0c43a1f9c3ea89c316e7fef9cd3a3b117df437	vim/syntax/notmuch-show.vim

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).