Hi!

>      Sorry, I meant to suggest trying
>
> :verbose hi Constant
>
> When I try this, it tells me that the Constant highlighting was set in
> $VIMRUNTIME/syntax/syncolor.vim .

> This file is :source'd after the :syn on command.  In your gvimrc
> file, do you have the lines to override the defaults before or after
> this line?

The 'syntax on' is in my vimrc file, which (AFAIK) is executed before
gvimrc. After these highlights there are only two mappings.

But your debugging line (let g:foo=...) shows, that the background is
'dark' there. It is dark at the beginning of vimrc, too. In gVim 6.4
the value is 'light' in both cases, so I suppose the default value of
'background' was changed. This could be the problem, because the
background is light when gVim is open and changing the value of
'background' changes several things.

BTW, if I do 'colo default' in my vimrc I get the defaults for dark
backgrounds but a white background, which makes the highlights
unreadable. This happens, because the background is set to dark at
that point, but this isn't, what the user expects.

Best wishes,
Georg







                
___________________________________________________________ 24 FIFA World Cup tickets to be won with Yahoo! Mail http://uk.mail.yahoo.com

Reply via email to