Tuesday, January 29, 2013

Re: Help: overwrite vim's standard email filetype

On Tue, January 29, 2013 16:19, Bitterjug wrote:
> Hi,
>
> mail.vim links syntax group mailSubject to LineNr. My preferred
> colourscheme makes line numbers receed, whereas I want mail subjects to
> stand out.
>
> How can I override vim's built-in mail.vim with my own version?

As far as I can see, my mail.vim (as of "Thu 02 Feb 2012 08:47:04 PM EST"
as stated in the top of the file) syntax script links mailSubject to
Title (which should be fine):

,----
| hi def link mailSubject Title
`----
However, since it uses :hi def link, you can simply link it to any
other highlighting group you like. If there already exists a link, hi
def link does not overwrite it, see also :h :hi-default

regards,
Christian

--
--
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.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: