fix: respect vim.o.background when loading colorscheme
- Change default background.light from "ink" to "pearl" so light mode
uses a light theme by default
- Clear _EXPLICIT_THEME when load() is called without arguments so
:colorscheme kanso properly respects vim.o.background setting
Fixes #45
This commit is contained in:
@@ -96,7 +96,7 @@ require('kanso').setup({
|
||||
end,
|
||||
background = { -- map the value of 'background' option to a theme
|
||||
dark = "ink", -- try "zen", "mist" or "pearl" !
|
||||
light = "ink" -- try "zen", "mist" or "pearl" !
|
||||
light = "pearl" -- try "zen", "mist" or "ink" !
|
||||
},
|
||||
foreground = "default", -- "default" or "saturated" (can also be a table like background)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user