contrib: pick: add docstring for notmuch-pick-worker
[notmuch] / contrib / notmuch-vim / syntax / notmuch-search.vim
1 syntax region nmSearch          start=/^/ end=/$/               oneline contains=nmSearchDate
2 syntax match nmSearchDate       /^.\{-13}/                      contained nextgroup=nmSearchNum
3 syntax match nmSearchNum        /.\{-4}/                        contained nextgroup=nmSearchFrom
4 syntax match nmSearchFrom       /.\{-21}/                       contained nextgroup=nmSearchSubject
5 syntax match nmSearchSubject    /.\{0,}\(([^()]\+)$\)\@=/       contained nextgroup=nmSearchTags
6 syntax match nmSearchTags       /.\+$/                          contained
7
8 highlight link nmSearchDate     Statement
9 highlight link nmSearchNum      Type
10 highlight link nmSearchFrom     Include
11 highlight link nmSearchSubject  Normal
12 highlight link nmSearchTags     String