On Sat, 10 Jul 2010, björn wrote:

> On Jul 10, 6:05 pm, "Benjamin R. Haskell" wrote:
> > On Sat, 10 Jul 2010, björn wrote:
> >
> > > ...but what's with the syntax highligting?  Greek letters are
> > > highlighted with a medium dark grey background and light grey
> > > foreground making the letters almost impossible to see.  I tried
> > > digging through the syntax file for TeX but could not figure out which
> > > highlight group controls this unfortunate choice of colors.  Can
> > > somebody (Chip?) tell me how to change the colors to something more
> > > readable?
> >
> > 'Conceal' is the group name, so:
> >
> > " clear the grey
> > :hi clear Conceal
> >
> > " set something manually:
> > :hi Conceal (settings)
> >
> > " or link to something:
> > :hi link Conceal Constant
> 
> Thanks Ben, now it is much better.  I couldn't find any mention of 
> this in the help.
> 
> Now that everything highlights properly I've found a problem, not sure 
> if it is a bug or not so I'll ask here first to see if anybody knows 
> whats going on.  The following line
> 
> $a^2$
> 
> is concealed properly (the "^2" is drawn as superscript 2).  However
> 
> $\alpha^2$
> 
> isn't -- it is drawn as "greek letter alpha" (the "^2" disappears!).
> 
> Does anybody know if this is a problem with the +conceal feature or 
> with the TeX syntax file?

Bumping this over to vim-dev, since this 'multiple conceals in a row 
collapse to single char' behavior is at least a documentation bug.

-- 
Best,
Ben

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

Reply via email to