]> git.notmuchmail.org Git - notmuch/blobdiff - vim/syntax/notmuch-compose.vim
nmbug: move from contrib to devel
[notmuch] / vim / syntax / notmuch-compose.vim
index fe4efd4b4cc023d1266834d84843ae98c4598b16..19adb7568ef0c221e5f91a5a156bb787795dd0f1 100644 (file)
@@ -1,2 +1,7 @@
-silent! setlocal syntax=mail
+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