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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
 
syntax region nmSearch		start=/^/ end=/$/		oneline contains=nmSearchDate
syntax match nmSearchDate	/^.\{-13}/			contained nextgroup=nmSearchNum
syntax match nmSearchNum	/.\{-4}/			contained nextgroup=nmSearchFrom
syntax match nmSearchFrom	/.\{-21}/			contained nextgroup=nmSearchSubject
syntax match nmSearchSubject	/.\{0,}\(([^()]\+)$\)\@=/	contained nextgroup=nmSearchTags
syntax match nmSearchTags	/.\+$/				contained

highlight link nmSearchDate	Statement
highlight link nmSearchNum	Type
highlight link nmSearchFrom	Include
highlight link nmSearchSubject	Normal
highlight link nmSearchTags	String

debug log:

solving f458d77 ...
found f458d77 in https://yhetil.org/notmuch.git/

(*) 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).