>> 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.
>
I tried this with
:hi clear User2
:hi User2 guifg=grey
But it still changes the background to the default background color. I
also tried ':hi User2 NONE' instead of the clear, but that didn't make
any difference. I guess i'll have to live with it :)
Jeroen
--
website: http://budts.be/ - twitter: @teranex
___________________________________
Registered Linux User #482240 - GetFirefox.com - ubuntu.com
--
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:
Post a Comment