ghifarit53 / tokyonight-vim

A clean, dark vim colorscheme that celebrates the lights of downtown Tokyo at night, based on a VSCode theme by @enkia with the same name [Archived because I'm no longer using this]
MIT License
557 stars 48 forks source link

Not working correctly #4

Closed RossComputerGuy closed 3 years ago

RossComputerGuy commented 3 years ago

screenshot As you can see, its not looking right in Vim. Terminal is URxvt.

RossComputerGuy commented 3 years ago

Removing set termguicolors fixed it.

ghifarit53 commented 3 years ago

@RossComputerGuy that's strange, you actually need to add set termguicolors to make the colorscheme working correctly. I tested it after seeing this issue. Without termguicolors being set, you're actually revert to 256 color version of this theme

with set termguicolors scr-2020-10-11_17 09 22

without set termguicolors scr-2020-10-11_17 09 48

just my guess, but maybe it has something to do with your $TERM variable

stoicAlchemist commented 3 years ago

I just got the same issue, apparently it has to do with ordering, if you set termguicolors after the colorscheme has been set, you'll get no colors applied to your nvim (maybe reset?), if you do it before setting the colorscheme, you're gonna get them fine.