Peng Yu wrote:
> Hi,
>
> I see the following text in ":help group-name" colored. But when I
> checked the file syntax.txt, I didn't see anything special for
> indicating the colors. Could anybody let me know how vim determines
> the colors? Thanks.
>
<snip>

Hello, Peng:

Syntax rules pick highlighting rules, which in turn are highlighted by
colorscheme rules.

  :help syntax
  :help colorscheme

If you'd like to see what in particular is happening in some file, you
may find

  http://www.drchip.org/astronaut/vim/index.html#HILINKS

to be of interest; in particular, try  :HLT!  with hilinks.vim.  This
command will show you the syntax stack, the highlighting trace, and the
resulting foreground/background color names as you move the cursor about.

Regards,
Chip Campbell

-- 
-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to