Tweaking syntax highlighting

"A. Wik" <[email protected]>
Newsgroups gmane.editors.vim
Message-ID <CALPW7mS+r7tdr6XDWabRhXivPh168R4JYOYWjXOAn=dMQmnzew@mail.gmail.com>
Hi all,

I have:
    colorscheme blue
    set background=dark
    hi Error guifg=darkgrey guibg=lightred gui=underline
    \    ctermfg=darkgrey ctermbg=lightred
in my .vimrc

Normally, errors are highlighted in lightred foreground on lightred
background, which is, of course, unreadable.  Hence the "hi ..."
statement in the .vimrc.

The problem is that the "hi ..." doesn't seem to work if run from
.vimrc, but it works when I run this manually:
:hi Error ctermfg=darkgrey ctermbg=lightred

Am I doing something wrong here?

Regards,
Albert Wik.

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/CALPW7mS%2Br7tdr6XDWabRhXivPh168R4JYOYWjXOAn%3DdMQmnzew%40mail.gmail.com.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.