Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I can't set neovim colors to follow terminal colors in st terminal.
Here is a screenshot from the terminal:
I have tried different configurations of set t_Co=256 and set termguicolors but all of them give different color schemes such as:
What is interesting is the fact that colors from terminal theme work by default in vim but do not work in neovim.
The problem was the background variable, which was set to dark.
solves the issue.
Required, but never shown