X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=contrib%2Fnotmuch-vim%2Fsyntax%2Fnotmuch-compose.vim;fp=contrib%2Fnotmuch-vim%2Fsyntax%2Fnotmuch-compose.vim;h=19adb7568ef0c221e5f91a5a156bb787795dd0f1;hp=0000000000000000000000000000000000000000;hb=6ee07a9c6db59e91852f2fe47a2701f5e08fee21;hpb=41a29a84721235e33aff23bf6ef61b9ffdded2ef diff --git a/contrib/notmuch-vim/syntax/notmuch-compose.vim b/contrib/notmuch-vim/syntax/notmuch-compose.vim new file mode 100644 index 00000000..19adb756 --- /dev/null +++ b/contrib/notmuch-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