On 17/04/09 04:43, Tiancheng wrote:
>
> I've got an interesting problem. :P
>
> I've been playing around with listchars and I love being able to
> display character for 'eol'.  But I want to be able to use list
> without displaying tabs.  By default, vim will convert tabs to ^I, so
> I tried to "hack" it by replacing it with two spaces:
>
> set listchars=tab:\ \
>
> But for some bloody reason, whenever I use vim through a terminal
> (over ssh), the color scheme info always gets a little screwy.  The hl-
> SpecialKey group always sends a ctermbg color of whatever my
> foreground text color is.  It's a bit hard to describe, so here's a
> screenshot (http://i37.photobucket.com/albums/e65/tiancheng/
> Picture1.png).  Basically, that grey block before the text "We have
> color support; assume it's compliant with Ecma-48" is a tab (replaced
> with spaces).
>
> so.... here's my question:
>
> how do I get my 'eol' listchars to show up without crazy syntax
> highlighting for tabs?  if i can somehow turn off the crazy syntax
> highlighting for hl-SpecialKey, then i'd ideally use set
> listchars=tab:»·,eol:¬.  But at this point, I'd be happy if i can
> remove the tab listchar group from the hl-SpecialKey group.
>
> any ideas?

What about setting the SpecialKey highlight to something else?

Maybe

     set list lcs=tab:»·,eol:¬
     hi SpecialKey cterm=NONE ctermfg=darkblue gui=NONE guifg=#000066

? This would display all SpecialKey highlighting in dark blue, with your 
settings shown above for tab and eol (I use tab:\|_,eol:¶ but that's 
just a different though similar choice).

see :help :hi


Best regards,
Tony.
-- 
You may easily play a joke on a man who likes to argue -- agree with
him.
                -- Ed Howe

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to