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 Comment    guifg=#5F5F5F
highlight Constant    guifg=#4444AA
highlight Type     gui=NONE guifg=#990011
highlight Search     guibg=#FFFFAA

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

Reply via email to