mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-28 21:54:10 +01:00
vim: highlight []-blocks in search view
This commit is contained in:
parent
a2f6319c9a
commit
e67ad108c8
1 changed files with 2 additions and 0 deletions
|
@ -9,6 +9,7 @@ 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
|
||||||
syntax match nmSearchCountAll '\(\d\+\)/\1' contained
|
syntax match nmSearchCountAll '\(\d\+\)/\1' contained
|
||||||
|
syntax match nmSearchSquareBracketText '\(\[\w\+\]\)'
|
||||||
syntax match nmSearchTags /([^)]\+)$/
|
syntax match nmSearchTags /([^)]\+)$/
|
||||||
|
|
||||||
highlight link nmSearchDate Statement
|
highlight link nmSearchDate Statement
|
||||||
|
@ -17,6 +18,7 @@ highlight link nmSearchCountZero Function
|
||||||
highlight link nmSearchCountSome Special
|
highlight link nmSearchCountSome Special
|
||||||
highlight link nmSearchCountAll Type
|
highlight link nmSearchCountAll Type
|
||||||
highlight link nmSearchFrom Include
|
highlight link nmSearchFrom Include
|
||||||
|
highlight link nmSearchSquareBracketText Special
|
||||||
highlight link nmSearchTags String
|
highlight link nmSearchTags String
|
||||||
|
|
||||||
highlight CursorLine term=reverse cterm=reverse gui=reverse
|
highlight CursorLine term=reverse cterm=reverse gui=reverse
|
||||||
|
|
Loading…
Reference in a new issue