altercation / vim-colors-solarized

precision colorscheme for the vim text editor
http://ethanschoonover.com/solarized
6.58k stars 1.75k forks source link

background is gray #218

Closed muse117 closed 3 years ago

muse117 commented 4 years ago

The background colors is not normal. It is gray. I use ubuntu20.04. .vimrc config is: syntax enable set background=dark colorscheme solarized let g:solarized_termcolors=256

Screenshot from 2020-06-29 16-06-48

fengwang commented 4 years ago

Same problem here, as of vim 8.2.0814@archlinux. But getting back to normal if turn off terminal transparency.

TadeuOliveira commented 4 years ago

I have a similar problem as @muse117 : if I don't include the let g:solarized_termcolors=256 line to my .vimrc, my colorscheme is just the same as his. When I do so, I get a colorscheme that definitely isn't solarized image

sairuk commented 4 years ago

call let before the colorscheme option and the scheme should have the full palette available when it loads.

e.g.

set background=dark
let g:solarized_termcolors=256
colorscheme solarized
TadeuOliveira commented 4 years ago

I'm afraid that was not the problem. I've switched order of these three and still got the same result By the way, I'm using ubuntu 20.04 as well image

muse117 commented 4 years ago

I'm afraid that was not the problem. I've switched order of these three and still got the same result By the way, I'm using ubuntu 20.04 as well image

This problem maybe a color support error in the terminal. You can also change the theme of the terminal to solarized. This problem will be fixed! https://github.com/aruhier/gnome-terminal-colors-solarized

bam80 commented 4 years ago

Have you tried https://github.com/lifepillar/vim-solarized8?

mariaortiz0401 commented 4 years ago

Have you tried https://github.com/lifepillar/vim-solarized8?

Worked like a charm for me on Ubuntu 20.04 terminal

TadeuOliveira commented 4 years ago

Have you tried https://github.com/lifepillar/vim-solarized8?

seems to be working, except for the background.

image

muse117 commented 4 years ago

call let before the colorscheme option and the scheme should have the full palette available when it loads.

e.g.

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

great! the question is solved Screenshot from 2020-07-18 10-31-43

muse117 commented 4 years ago

I'm afraid that was not the problem. I've switched order of these three and still got the same result By the way, I'm using ubuntu 20.04 as well image

you try to add "let g:solarized_termtrans=1".