style: fixed EmmyLua annotations
This commit is contained in:
@@ -9,9 +9,7 @@ function M.setup(config)
|
||||
|
||||
-- Color Palette
|
||||
---@class ColorScheme
|
||||
local colors = {}
|
||||
|
||||
colors = {
|
||||
local colors = {
|
||||
none = "NONE",
|
||||
bg_dark = "#1f2335",
|
||||
bg = "#24283b",
|
||||
|
||||
@@ -1,6 +1,3 @@
|
||||
---@class Config
|
||||
local config
|
||||
|
||||
-- shim vim for kitty and other generators
|
||||
vim = vim or { g = {}, o = {} }
|
||||
|
||||
@@ -15,7 +12,8 @@ local function opt(key, default)
|
||||
return vim.g[key]
|
||||
end
|
||||
|
||||
config = {
|
||||
---@class Config
|
||||
local config = {
|
||||
style = opt("style", "storm"),
|
||||
dayBrightness = opt("day_brightness", 0.3),
|
||||
transparent = opt("transparent", false),
|
||||
@@ -32,6 +30,7 @@ config = {
|
||||
darkSidebar = opt("dark_sidebar", true),
|
||||
transparentSidebar = opt("transparent_sidebar", false),
|
||||
transform_colors = false,
|
||||
borderlessTelescope = opt("borderless_telescope", true),
|
||||
lualineBold = opt("lualine_bold", false),
|
||||
}
|
||||
|
||||
|
||||
@@ -12,6 +12,7 @@ function M.setup(config)
|
||||
local theme = {}
|
||||
theme.config = config
|
||||
theme.colors = colors.setup(config)
|
||||
|
||||
local c = theme.colors
|
||||
|
||||
theme.base = {
|
||||
|
||||
Reference in New Issue
Block a user