Dear Marcin, Thank you for your reply.
Le 22-01-2012, à 12:07:30 +0000, Marcin Szamotulski ([email protected]) a écrit : > > In mutt, when I read an email, each quotation depth has its own color, > > which is very usefull. But when replying to an email, the whole mail is > > in one color (blue). How could I do to have the same thing when replying > > to an email? > > I use vim to write me emails and I have syntax=mail (also filetype=mail). > There are these syntax groups: mailQuoteExp1,...,mailQuoteExp6 which color > what you want. I grepped through ~/.vim/ and I found a file ~/.vim/ftplugin/mail.vim where mailQuoteExp{1,6} seem to be defined : uoteExp1 xxx match /\v^(\> ?)/ contained links to mailQuoted1 mailQuoteExp2 xxx match /\v^(\> ?){2}/ contained links to mailQuoted2 mailQuoteExp3 xxx match /\v^(\> ?){3}/ contained links to mailQuoted3 mailQuoteExp4 xxx match /\v^(\> ?){4}/ contained links to mailQuoted4 mailQuoteExp5 xxx match /\v^(\> ?){5}/ contained links to mailQuoted5 mailQuoteExp6 xxx match /\v^(\> ?){6}/ contained links to mailQuoted6 But the xxx are all in a light blue (but signature is in dark blue, so it seems that the plugin is active). Also, if I :syntax when repling, I see a whole bunch of lines talking about that, but in the above file I don't see where I can change the colors. I have for ex. : " Define the default highlighting. hi def link mailHeader Statement hi def link mailHeaderKey Type hi def link mailSignature PreProc hi def link mailHeaderEmail mailEmail hi def link mailEmail Special hi def link mailURL String hi def link mailSubject LineNR hi def link mailQuoted1 Comment hi def link mailQuoted3 mailQuoted1 hi def link mailQuoted5 mailQuoted1 hi def link mailQuoted2 Identifier hi def link mailQuoted4 mailQuoted2 hi def link mailQuoted6 mailQuoted2 hi def link mailQuoteExp1 mailQuoted1 hi def link mailQuoteExp2 mailQuoted2 hi def link mailQuoteExp3 mailQuoted3 hi def link mailQuoteExp4 mailQuoted4 hi def link mailQuoteExp5 mailQuoted5 hi def link mailQuoteExp6 mailQuoted6 I don't see where I can change these colors. Thanks, Steve -- 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
