feat: use background setting to determine light / dark theme #15

This commit is contained in:
Folke Lemaitre
2021-04-25 15:50:02 +02:00
parent 8041e49cf7
commit f7b4afbba2
5 changed files with 27 additions and 21 deletions

View File

@@ -27,4 +27,6 @@ config = {
darkSidebar = opt("dark_sidebar", true),
}
if config.style == "day" then vim.o.background = "light" end
return config