oos1111
oos1111

Reputation: 63

Why does vim solarized colorscheme looks weird on my mac?

I installed solarized colorscheme and configure things in vimrc

However, on my mac, it looks like:

vim on mac

After I added a line let g:solarized_termcolors=256 in vimrc, it looks a little better:

enter image description here

But it's still not the color on solarized, on a linux machine(without let g:solarized_termcolors=256 in vimrc), it's like this:

enter image description here

So how can I make the colors on mac vim the same as on linux?

Upvotes: 3

Views: 2286

Answers (1)

Jimmy liu
Jimmy liu

Reputation: 1687

I didn't work for me either, I didn't spend too much time on researching why it wouldn't work, and turn to this one: https://github.com/lifepillar/vim-solarized8

And it works for me, try if it's working for you :)

BTW, be aware it does fall back to an approximate palette based theme if your terminal is not supporting true colors, I'm using windows terminal and it works fine, you actually don't have to put "set termguicolors" in your .vimrc. Hope it helps

enter image description here

Upvotes: 3

Related Questions