On Mo, 01 Feb 2021, Ian wrote:
> I want the headers colored in vim, when I edit/write the message.
> I have no problems for coloring the headers when viewing the messages in mutt.
I am using mutt with vim and :set edit_headers so I see some headers in 
each message. If you have your filetype plugin enabled, Vim should 
detect a mail from mutt as filetype mail and it colors headers already 
using the provided syntax file for the mail filetype  (see 
$VIMRUNTIME/syntax/mail.vim).
If this is not enough for you, have a look inside this runtime file to 
see how to color different headers.
Best,
Christian
-- 
Ich fürchte mich nicht vor dem, was zu fürchten ist, ich fürchte mich
nur vor der Furcht.
		-- Johann Christian Friedrich Hölderlin
-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
--- 
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20210202074022.GD2835808%40256bit.org.
Monday, February 1, 2021
Subscribe to:
Post Comments (Atom)
 
No comments:
Post a Comment