I can't set neovim colors to follow terminal colors in st terminal. Here is a screenshot from the terminal: enter image description here

I have tried different configurations of set t_Co=256 and set termguicolors but all of them give different color schemes such as: enter image description here enter image description here

What is interesting is the fact that colors from terminal theme work by default in vim but do not work in neovim.


1 Answer 1



The problem was the background variable, which was set to dark.

set background=light

solves the issue.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.