aboutsummaryrefslogtreecommitdiff
path: root/vim/syntax/notmuch-compose.vim
diff options
context:
space:
mode:
authorThorsten Töpper <atsutane@freethoughts.de>2014-06-19 12:13:40 +0200
committerThorsten Töpper <atsutane@freethoughts.de>2014-06-19 12:13:40 +0200
commit5e7f909bb4f66bba60d3c4ff31df012d21d18699 (patch)
tree517f04b7eefa6ac93884e607bbb41e5355ab2902 /vim/syntax/notmuch-compose.vim
parent875c561f9a2b264f7f48896396eeb644611df62f (diff)
downloaddotfiles-5e7f909bb4f66bba60d3c4ff31df012d21d18699.tar.gz
dotfiles-5e7f909bb4f66bba60d3c4ff31df012d21d18699.tar.bz2
Some files from the laptop.
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 0000000..19adb75
--- /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