aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Bart Trojanowski <bart@jukie.net>2009-11-25 00:13:32 -0500
committerGravatar Bart Trojanowski <bart@jukie.net>2009-11-25 00:48:55 -0500
commita01e1335bea5fc583e1ab5e1a2ea8ad81ba725ce (patch)
tree8d41c9238ea6e630ccc3b3ae0a2ef933c27c3dbb
parent553637313bd152071e20035c95fb80b0257b835c (diff)
vim: minor improvements to search screen syntax matching
-rw-r--r--vim/syntax/notmuch-search.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/vim/syntax/notmuch-search.vim b/vim/syntax/notmuch-search.vim
index 3c2b2729..71839fd9 100644
--- a/vim/syntax/notmuch-search.vim
+++ b/vim/syntax/notmuch-search.vim
@@ -2,9 +2,9 @@
" 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 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 match nmSearchCountZero '0/\(\d\+\)' contained
syntax match nmSearchCountSome '\([1-9]\d*\)/\(\d\+\)' contained