aboutsummaryrefslogtreecommitdiff
path: root/vim/syntax/notmuch-compose.vim
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2009-11-27 17:32:50 -0800
committerCarl Worth <cworth@cworth.org>2009-11-27 17:32:50 -0800
commitc835e2a5059ebc10580f8ae2a79c4f0f81374798 (patch)
tree936b9414363129c63b42bf7f16048623b693f7a9 /vim/syntax/notmuch-compose.vim
parent5c7c6c0baefaf63d2b79c014b85c391a66261feb (diff)
parente6628e78d9ce3f9383a4699df9063a648617b428 (diff)
Merge remote branch 'jukie/vim'
Diffstat (limited to 'vim/syntax/notmuch-compose.vim')
-rw-r--r--vim/syntax/notmuch-compose.vim7
1 files changed, 7 insertions, 0 deletions
diff --git a/vim/syntax/notmuch-compose.vim b/vim/syntax/notmuch-compose.vim
new file mode 100644
index 00000000..19adb756
--- /dev/null
+++ b/vim/syntax/notmuch-compose.vim
@@ -0,0 +1,7 @@
+runtime! syntax/mail.vim
+
+syntax region nmComposeHelp contains=nmComposeHelpLine start='^Notmuch-Help:\%1l' end='^\(Notmuch-Help:\)\@!'
+syntax match nmComposeHelpLine /Notmuch-Help:/ contained
+
+highlight link nmComposeHelp Include
+highlight link nmComposeHelpLine Error