ClosestStorm / macvim

Automatically exported from code.google.com/p/macvim
0 stars 0 forks source link

transparency not working with nocompatible #438

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
when set nocompatible in my .vimrc,Macvim is not transparent any longer,which I 
have tested many times.

OS X version:10.8.2
Macvim version:7.3(66)

Original issue reported on code.google.com by ccg...@gmail.com on 16 Feb 2013 at 2:32

GoogleCodeExporter commented 9 years ago
Have you enabled the Core Text renderer in the advanced preferences?

I just tested and transparency works for me both with 'compatible' and with 
'nocompatible'.

Original comment by bjorn.winckler@gmail.com on 16 Feb 2013 at 4:38

GoogleCodeExporter commented 9 years ago
Ya,I have enabled "Use core Text render",and transparency not working with 
"compatible"

Original comment by ccg...@gmail.com on 18 Feb 2013 at 4:44

GoogleCodeExporter commented 9 years ago
Try going through the troubleshooting guide [1].  I don't know why it wouldn't 
work for you.

One thing to look out for: when 'compatible' is set, it is *not* possible to 
tab-complete commands so you have to type out the entire ":set transparency=30" 
for it to work.  (This bit me while I was testing.)

[1] https://github.com/b4winckler/macvim/wiki/Troubleshooting

Original comment by bjorn.winckler@gmail.com on 21 Feb 2013 at 8:11

GoogleCodeExporter commented 9 years ago
I've just tested it in command mode,and it worked fine with both "compatible" 
and "nocompatible".
But once "set nocompatible" is written in my .vimrc, the transparency does not 
work.
So I have to write:

if has("gui_macvim")
    �   "if set compatible, transparency doesn't work.
    else
        set nocompatible
endif

Luckily, nocompatible is default in vim,So don't trouble to work it out. : )

Original comment by ccg...@gmail.com on 22 Feb 2013 at 7:05

GoogleCodeExporter commented 9 years ago

Original comment by bjorn.winckler@gmail.com on 9 Jun 2013 at 2:03