feat: darker sidebars

This commit is contained in:
Folke Lemaitre
2021-04-20 12:19:20 +02:00
parent b7e7b8c163
commit a425e02942
5 changed files with 59 additions and 53 deletions

View File

@@ -1,6 +1,9 @@
---@class Config
local config
-- shim vim for kitty and other generators
vim = vim or { g = {} }
local function opt(key, default)
key = "tokyonight_" .. key
if vim.g[key] == nil then return default end
@@ -16,6 +19,8 @@ config = {
functionStyle = opt("italic_functions", false) and "italic" or "NONE",
hideInactiveStatusline = opt("hide_inactive_statusline", false),
terminalColors = opt("terminal_colors", true),
sidebars = opt("sidebars", {}),
dev = opt("dev", false),
}
return config