Wednesday, February 16, 2011

Re: highlight with transparent background

> I found under :help highlight-guibg that setting guibg to NONE should
> result in a transparent background, but when i try this gvim always
> uses the background color of the default text as the guibg. Is it
> somehow possible to make vim always use the current background color
> for the User1 highlight?

I think I found that doing

:hi Whatever guibg=NONE

wasn't sufficient to make this work, but that

:hi Whatever NONE
or
:hi clear Whatever

worked. Try putting one of those before a second :hi command that only
sets the fg and see if that works.

Cheers,

Ben.

--
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

No comments: