Yep, it works on MacVim.

Also, is there a reason you don't put solarized settings in gvimrc? It
might simplify things for you.

On Tue, Oct 16, 2012 at 9:16 AM, Kyle Lippincott <spect...@pewpew.net>wrote:

> On linux, I believe it's:
> if has("gui_running")
>
> I haven't tested if that works in macvim, but if it doesn't, then that
> should be filed as a bug.
>
> On Mon, Oct 15, 2012 at 8:32 AM, Aaron Cruz <pferdeflei...@gmail.com>wrote:
>
>> I am having problems with the solarized dark colorscheme showing up
>> correctly on my terminal version of MacVim because I don't want to use the
>> solarized **terminal** theme as well.
>> I just found the `if has("gui_macvim")` statement but it is getting a
>> true also for my terminal version of MacVim.
>> I would be happy solving this with a conditional statement in my .vimrc
>> that looked something like this.
>> <code>
>> if has("terminal_macvim")
>>   set background=light
>> endif
>> </code>
>> (This would also have to not break linux vim builds)
>> Does such a thing exist?
>> Can anyone think of another way of solving this?
>> The use case is that I tend to use the terminal version for one off
>> scripts and configs and the GUI version for projects that have some sort of
>> file tree.
>> --
>> Thanks all,
>> aaron
>>
>> --
>> You received this message from the "vim_mac" 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 from the "vim_mac" 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 from the "vim_mac" 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

Reply via email to