Switching the background in e.g., MacVim via :set background=light correctly reloads the color scheme and assigns the light-variant colors, and likewise for dark. However, doing the same in the terminal (Terminal.app in my case) produces odd results. The background color is not set and some colors appear that do not correspond to any colors assigned in the scheme.
I've found that the following workaround works reliably: If you are using the dark mode and want to switch to light, for example, switch to another color scheme, set the background to light, then switch back to Hemisu:
:colorscheme default
:set background=light
:colorscheme hemisu
If anyone with more experience can (a) explain what I'm doing wrong in hemisu.vim or (b) explain why simply setting background doesn't do what I think it should, it would be appreciated.
Switching the background in e.g., MacVim via
:set background=lightcorrectly reloads the color scheme and assigns the light-variant colors, and likewise fordark. However, doing the same in the terminal (Terminal.app in my case) produces odd results. The background color is not set and some colors appear that do not correspond to any colors assigned in the scheme.I've found that the following workaround works reliably: If you are using the dark mode and want to switch to light, for example, switch to another color scheme, set the background to
light, then switch back to Hemisu:If anyone with more experience can (a) explain what I'm doing wrong in hemisu.vim or (b) explain why simply setting
backgrounddoesn't do what I think it should, it would be appreciated.