vercel / hyper

A terminal built on web technologies
https://hyper.is
MIT License
43.27k stars 3.52k forks source link

Vim color scheme or contrast inverted for solarized light, dark themes #4264

Open ridhwaans opened 4 years ago

ridhwaans commented 4 years ago

Issue

image

This occurs for both light and dark variants of the altercation/vim-colors-solarized vim color scheme (set background=light|dark). As seen, the contrast/colors is inverted everywhere, line 31 is supposed to look like the rest of the file. As you shift the cursor to a new line its the same effect. I'm guessing the issue is the terminal emulator or some missing vimrc setting

Irtiaz commented 3 years ago

Hi, I am facing the same problem, did you find a solution?

alanqchen commented 3 years ago

Adding highlight Normal ctermbg=none to my .vimrc fixed this issue for me.

Adnn commented 3 years ago

@alanqchen This does fix the main background color, sadly it leaves the "highlighted row" and a few other places with an inverted background color (i.e. same background color as without your proposed fix).