Problem with guibg=none

9 views
Skip to first unread message

Israel Chauca F.

unread,
Feb 10, 2012, 8:03:55 PM2/10/12
to vim...@googlegroups.com
Hi,

When I try to run the following command:

hi MyHL guibg=none

I get the following error:

E254: Cannot allocate color none

Am I alone with this? non-MacVim users don't seems to have any problem and the system (Lion) Vim doesn't give any error.

I found about this because a plugin uses something like that. Any pointers?

Cheers!
Israel

John Beckett

unread,
Feb 10, 2012, 9:53:30 PM2/10/12
to vim...@googlegroups.com
Israel Chauca F. wrote:
> When I try to run the following command:
>
> hi MyHL guibg=none
>
> I get the following error:
>
> E254: Cannot allocate color none

It's "NONE" (not "none"). Try:

hi MyHL guibg=NONE

John

Israel Chauca F.

unread,
Feb 10, 2012, 10:34:52 PM2/10/12
to vim...@googlegroups.com

On Feb 10, 2012, at 9:53 PM, John Beckett wrote:

> Israel Chauca F. wrote:
>> When I try to run the following command:
>>
>> hi MyHL guibg=none
>>
>> I get the following error:
>>
>> E254: Cannot allocate color none
>
> It's "NONE" (not "none"). Try:

That was the issue and the plugin author has fixed it.

Thanks!
Israel

Reply all
Reply to author
Forward
0 new messages