Replace tokyonight-day with background=light
#248
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Drop
tokyonight-day
. Usevim.o.background=light
instead.Using
vim.o.background
also allows these pairs:My intent here is to simplify light mode a bit. Currently there's two distinct way to use a light mode; with
vim.o.background
(which gives three variants) or using the day theme (which allows using only the storm-light variant).My goal with these changes is to eventually make it possible to define overrides that only apply when
vim.o.background = "light"
. The way the day (a.k.a.: "storm+light") variant is special cased, makes this pretty tricky.All-in-all, I feel this reduces completely while increases flexibility; there will only be one way of specifying that one wants a light variant, but the light variant for all three are usable.