Hello,

On 3/1/07, Yakov Lerner <[EMAIL PROTECTED]> wrote:
On 3/1/07, Alexander Farber <[EMAIL PROTECTED]> wrote:
> When I enter ":hi Comment    guifg=white  guibg=black"
> manually or ":so ~/.vimrc" then it does work.

It's not ignored. It's overwritten later.
1. Try 'syn off' 'syntax on' after that. Does it affect you colors ?

it does affect my colors: "syn off" turns everything black/white
and "syn on" brings the colors back (but wrong colors -
my Comments are still not inverted)

2. Do you have 'color ...' c(colorscheme setting) in your vimrc ?

No, here is my complete ~/.vimrc:

set hlsearch
set wildignore+=*.o,*.obj,*.class,*.jar,*.zip,*.rar
set showcmd
set hlsearch
set ignorecase smartcase
set tags=tags
set nocompatible
set backspace=2
set viminfo='20,\"50
set history=50
set ruler
set go=mr
set sw=8
"set guifont=-b&h-lucidatypewriter-bold-r-normal-*-15-140-75-75-m-90-iso8859-9
set guifont=Courier_New:h12:b

syntax on
hi Cursor     guifg=black  guibg=green
hi Visual     guifg=yellow guibg=black
hi Comment    guifg=white  guibg=black
hi Identifier guifg=black
hi Constant   guifg=red
hi Statement  guifg=blue
hi PreProc    guifg=black  gui=underline
hi Special    guifg=red
hi Type       guifg=blue

au BufWinLeave *.pl,*.pm,*.c mkview
au BufWinEnter *.pl,*.pm,*.c silent loadview


Regards
Alex

--
http://preferans.de

Reply via email to