Tuesday, October 2, 2012

Re: change display colors. which rule causes which color?

Gelonida N wrote:

> On 10/02/2012 01:00 AM, richard emberson wrote:
>>
>> To see the "group" I use:
>>
>> map <F10> :echo "hi<"
>> synIDattr(synIDtrans(synID(line("."),col("."),1)),"name") . ">"<CR>
>>
>> To see the colors associated with a group use:
>>
>> :highlight "groupname"
>>
> Thanks a lot for this tip.
> This helps me to identify the groups, that are tricky to visualize.

You can also show in the statusline the syntax group where cursor is located.
See:

http://vim.wikia.com/wiki/Showing_syntax_highlight_group_in_statusline

-- Dominique

--
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

No comments: