Hello,

Another way to get around this is to add something like this to your _vimrc:

  augroup MyColors
  au!
  au ColorScheme * highlight Comment guifg=Darkgreen
  au ColorScheme * highlight Identifier guifg=Blue
  [ ... etc ... ]
  augroup end

  " execute the commands now in case they aren't triggered immediately:
  do MyColors ColorScheme


Each time colors are reloaded (like when you use ':syn on'), the highlight
commands will be executed.

regards,
Peter



--- [EMAIL PROTECTED] wrote:

> Hello,
> 
> in my old gvim62 installation I do a few highlight commands in the
> $VIM/_gvimrc:
> 
> highlight Comment guifg=DarkGreen guibg=background
> ...
> 
> Now in my new vim70 installation this seems to be overwritten somewhere.
> The _gvimrc *is* sourced (-> :scriptnames)
> If I do the highlight command manually it works.
> 
> Where may the highlight be overwritten resp. where should I place the
> highlight command instead?
> 
> Thank You
> 
> Joachim
> 
> [gvim70 WinXP]
> ###########################################
> 
> This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange.
> For more information, connect to http://www.f-secure.com/
> 



                
____________________________________________________ 
Do you Yahoo!? 
Yahoo! Dating: It's free to check out our great singles! 
http://au.personals.yahoo.com

Reply via email to