Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dark background solarized colorscheme doesn't work in 0.9.0 #311

Closed
fishy opened this issue Oct 23, 2016 · 11 comments
Closed

Dark background solarized colorscheme doesn't work in 0.9.0 #311

fishy opened this issue Oct 23, 2016 · 11 comments

Comments

@fishy
Copy link

fishy commented Oct 23, 2016

I have the following in my ~/.config/nvim/init.vim:

set background=dark
let g:solarized_termcolors=256
let g:solarized_termtrans=1
colorscheme solarized

When using the VimR GUI, set background? shows dark, echo g:solarized_termcolors and echo g:solarized_termtrans show that they are both correctly set, but it's still the light background solarized colorscheme, not the dark one.

@qvacua
Copy link
Owner

qvacua commented Oct 23, 2016

I guess that the missing gui_running option in NeoVim is causing this. Until we know for sure what's going on, you could use a version of Solarized for NeoVim. (I tried it and it worked for both light and dark)

@qvacua
Copy link
Owner

qvacua commented Nov 11, 2016

Have you tried to set termguicolors? (It will be soon turned on by default: #334)

@qvacua
Copy link
Owner

qvacua commented Nov 11, 2016

Try this snapshot: it will by default turn on the termguicolors option.

@fishy
Copy link
Author

fishy commented Nov 12, 2016

I tried set termguicolors (before set background=dark), it doesn't work.

v0.11.0-SNAPSHOT-20161111.2237-124 doesn't work either. Also it looks quite broken, it dropped a lot of settings in my init.vim, e.g. it didn't even load solarized (colorscheme solarized complained an error)

@qvacua
Copy link
Owner

qvacua commented Nov 13, 2016

Yes, we're having a problem with init.vim loading. We're currently investigating it: GH-337. For the time being please use https://github.com/qvacua/vimr/releases/tag/v0.10.1-122. BTW: did you try the other solarized themes mentioned above?

@avietrov
Copy link

I've installed the suggested colorscheme, and not I cannot switch colorscheme at all. It just stays default with white bg. I'm on 0.11.0-SNAPSHOT-20161127.1106

@qvacua
Copy link
Owner

qvacua commented Nov 29, 2016

I am using the newest version (https://github.com/qvacua/vimr/releases/tag/v0.11.0-138) and it works both with dark and light (the problem I mentioned above is fixed):

screen shot 2016-11-29 at 18 19 08

screen shot 2016-11-29 at 18 19 14

What happens with nvim on terminal with your settings?

@avietrov
Copy link

Right, sorry. With the most recent version of neovim (0.1.7) and vimr (0.10.0) the issue is gone on my side.

@qvacua
Copy link
Owner

qvacua commented Nov 30, 2016

There's a newer version of VimR https://github.com/qvacua/vimr/releases/tag/v0.11.0-138 than 0.10.0. 🙂 What about you, @fishy ? Resolved? Then, please close the issue. Thanks!

@qvacua
Copy link
Owner

qvacua commented Jun 30, 2017

Please re-open if the issue still remains. Closing...

@qvacua qvacua closed this as completed Jun 30, 2017
Vvkmnn added a commit to Vvkmnn/dotfiles that referenced this issue Dec 23, 2017
@Vvkmnn
Copy link

Vvkmnn commented Dec 23, 2017

Following up if anyone finds this, my issue was set t_Co=256.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants