aboutsummaryrefslogtreecommitdiffhomepage
path: root/vim/syntax/notmuch-show.vim
diff options
context:
space:
mode:
authorGravatar Bart Trojanowski <bart@jukie.net>2009-11-18 21:00:43 -0500
committerGravatar Bart Trojanowski <bart@jukie.net>2009-11-25 00:48:49 -0500
commit3493ea0ed5bd20b961aafa01eeddaf8cbc49b52f (patch)
tree25d80d6e5a68bbc5f7940952e1458881054703a1 /vim/syntax/notmuch-show.vim
parent5e7df3c17e0d07d5252820beb5ef1e0bfea86498 (diff)
added syntax files for search and show screens
Diffstat (limited to 'vim/syntax/notmuch-show.vim')
-rw-r--r--vim/syntax/notmuch-show.vim13
1 files changed, 13 insertions, 0 deletions
diff --git a/vim/syntax/notmuch-show.vim b/vim/syntax/notmuch-show.vim
new file mode 100644
index 00000000..06dd2ea2
--- /dev/null
+++ b/vim/syntax/notmuch-show.vim
@@ -0,0 +1,13 @@
+" notmuch show mode syntax file
+
+syntax region nmShowMessage start=" message{" end=" message}" contains=nmShowHeader,nmShowBody,nmShowAttachment,nmShowPart
+syntax region nmShowHeader start=" header{" end=" header}" contained
+syntax region nmShowBody start=" body{" end=" body}" contained contains=nmShowAttachment,nmShowPart
+syntax region nmShowAttachment start=" attachment{" end=" attachment}" contained
+syntax region nmShowPart start=" part{" end=" part}" contained
+
+highlight link nmShowMessage Error
+highlight link nmShowHeader Type
+highlight link nmShowBody Statement
+highlight link nmShowAttachment Statement
+highlight link nmShowPart String