Re: Highlighting in Vim 7

2006-05-16 Thread Eric Arnold

Did you try putting these at the bottom of your vimrc?  If so, then it
might be a plugin or script you are using which is causing them to
reset.  Try --noplugin.

On 5/15/06, Antun Karlovac [EMAIL PROTECTED] wrote:

I just upgraded from GVIM 6.3 to GVIM 7, and my highlight colors no
longer work. I'm on Windows.

In my _vimrc file I had the following settings:

highlight Comment   guifg=#5F5F5F
highlight Constant  guifg=#AA
highlight Type  gui=NONE guifg=#990011
highlight Searchguibg=#AA

These colors are ignored altogether. If I run the above lines manually
in command mode, the colors are set.

My original _vimrc file is still getting sourced correctly (other
commands are still being read).

Is there something that I need to run to apply the above colors?

Thanks and take care,

Antun



Highlighting in Vim 7

2006-05-15 Thread Antun Karlovac
I just upgraded from GVIM 6.3 to GVIM 7, and my highlight colors no 
longer work. I'm on Windows.


In my _vimrc file I had the following settings:

highlight Comment   guifg=#5F5F5F
highlight Constant  guifg=#AA
highlight Type  gui=NONE guifg=#990011
highlight Searchguibg=#AA

These colors are ignored altogether. If I run the above lines manually 
in command mode, the colors are set.


My original _vimrc file is still getting sourced correctly (other 
commands are still being read).


Is there something that I need to run to apply the above colors?

Thanks and take care,

Antun


Re: Highlighting in Vim 7

2006-05-15 Thread Antun Karlovac

Hi Chip

Thanks for the response. Is the vimfiles/after/plugin/... a special 
location? I'm on Windows, and I added the following file:


c:\Vim\vimfiles\after\plugin\antuncolormod.vim

I had to make both the after and plugins directories. However my 
file does not appear to be getting picked up.


-Antun

Charles E Campbell Jr wrote:

Antun Karlovac wrote:

I just upgraded from GVIM 6.3 to GVIM 7, and my highlight colors no 
longer work. I'm on Windows.


In my _vimrc file I had the following settings:

highlight Commentguifg=#5F5F5F
highlight Constantguifg=#AA
highlight Type gui=NONE guifg=#990011
highlight Search guibg=#AA

These colors are ignored altogether. If I run the above lines manually 
in command mode, the colors are set.


My original _vimrc file is still getting sourced correctly (other 
commands are still being read).


Is there something that I need to run to apply the above colors?


I've not tested this, but it seems to me that either a colorscheme was 
loaded later than these color settings or
syntax on was done afterwards.  Either way, your .vimrc isn't really the 
place to do this sort of of thing.  I suggest

putting these in

~/.vim/after/plugin/antuncolormod.vim

If you're on windows, then change that ~/.vim/etc to 
--wherever--\vimfiles\after\plugin\antuncolormod.vim


Regards,
Chip Campbell