mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-22 17:34:54 +01:00
vim: minor improvements to search screen syntax matching
This commit is contained in:
parent
553637313b
commit
a01e1335be
1 changed files with 2 additions and 2 deletions
|
@ -2,9 +2,9 @@
|
||||||
|
|
||||||
" TODO: I cannot figure out why nmSearchTags is not matching anything :(
|
" TODO: I cannot figure out why nmSearchTags is not matching anything :(
|
||||||
|
|
||||||
syntax region nmSearchDate start='^' end='\%13v'
|
syntax region nmSearchDate start='^' end='\%13v' oneline
|
||||||
syntax region nmSearchCountAndFrom start='\%14v\[' end='|' oneline contains=nmSearchCount,nmSearchFrom
|
syntax region nmSearchCountAndFrom start='\%14v\[' end='|' oneline contains=nmSearchCount,nmSearchFrom
|
||||||
syntax region nmSearchCount start='\%14v\[' end='\]' contained contains=nmSearchCountZero,nmSearchCountSome,nmSearchCountAll
|
syntax region nmSearchCount start='\[' end='\]' oneline contained contains=nmSearchCountZero,nmSearchCountSome,nmSearchCountAll
|
||||||
syntax region nmSearchFrom start='\]\@<=' end='|' oneline contained
|
syntax region nmSearchFrom start='\]\@<=' end='|' oneline contained
|
||||||
syntax match nmSearchCountZero '0/\(\d\+\)' contained
|
syntax match nmSearchCountZero '0/\(\d\+\)' contained
|
||||||
syntax match nmSearchCountSome '\([1-9]\d*\)/\(\d\+\)' contained
|
syntax match nmSearchCountSome '\([1-9]\d*\)/\(\d\+\)' contained
|
||||||
|
|
Loading…
Reference in a new issue