diff options
author | Bart Trojanowski <bart@jukie.net> | 2009-11-26 23:04:53 -0500 |
---|---|---|
committer | Bart Trojanowski <bart@jukie.net> | 2009-11-26 23:07:07 -0500 |
commit | 8bafbac75c53631d0db351e20fb5f5bb0fcfb48e (patch) | |
tree | bc166d979a22eeb3eee2e9b857528e923766c530 /vim/syntax/notmuch-compose.vim | |
parent | 805633beccd51752ee458424a342601318d5ceae (diff) |
vim: add a helpful header to notmuch-compose mode
Diffstat (limited to 'vim/syntax/notmuch-compose.vim')
-rw-r--r-- | vim/syntax/notmuch-compose.vim | 7 |
1 files changed, 6 insertions, 1 deletions
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 |