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

Cannot get the solarized theme on neovim on Alacritty (or Kitty) on Linux #220

Open
garret opened this issue Sep 23, 2020 · 5 comments
Open

Comments

@garret
Copy link

garret commented Sep 23, 2020

I would like to have the solarized color scheme only in neovim when using the terminal on Linux. I use Alacritty as main terminal but I have the exact same issue with Kitty for instance. In particular, I am using the default settings of Alacritty and neovim (in this last case I just added some plugins).

Before installing the solarized color scheme, this is how my vim appears:
image

I copied the solarized.vim file into $HOME/.config/nvim/colors/ and this is the result:
image

I also added the let g:solarized_termcolors=256 line but still doesn't really help:
image

Do you know if there is a way to solve the issue?

@rhubinak
Copy link

Try either https://github.com/lifepillar/vim-solarized8 or https://github.com/frankier/neovim-colors-solarized-truecolor-only

@kangzoel
Copy link

kangzoel commented Apr 4, 2021

You should change your terminal theme to solarized. And also, don't set the solarized_termcolors to 256, it's a fallback color, not the original solarized colors

@garret
Copy link
Author

garret commented Apr 4, 2021

You should change your terminal theme to solarized. And also, don't set the solarized_termcolors to 256, it's a fallback color, not the original solarized colors

In my original post I explain that I want solarized in vim but another color scheme for my terminal (alacritty).

@port19x
Copy link

port19x commented Oct 20, 2021

I encountered the same issue. Just setting Kitty to use solarized fixes the colors

@waldo2810
Copy link

waldo2810 commented Nov 6, 2024

This can be fixed by setting these two lines (in my case, at the end of my vimrc)

set t_Co=16
let g:solarized_termcolors=16

Everything would be:

syntax on
set t_Co=16
let g:solarized_termcolors=16
set background=dark
colorscheme solarized

See here

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

5 participants