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