X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=vim%2Fsyntax%2Fnotmuch-compose.vim;h=19adb7568ef0c221e5f91a5a156bb787795dd0f1;hb=138c6aa098fe4236dc334cc55ac4fc414ddb298c;hp=fe4efd4b4cc023d1266834d84843ae98c4598b16;hpb=805633beccd51752ee458424a342601318d5ceae;p=notmuch diff --git a/vim/syntax/notmuch-compose.vim b/vim/syntax/notmuch-compose.vim index fe4efd4b..19adb756 100644 --- a/vim/syntax/notmuch-compose.vim +++ b/vim/syntax/notmuch-compose.vim @@ -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