build: selene + stylua
This commit is contained in:
@@ -9,10 +9,13 @@ function M.alacritty(config)
|
||||
|
||||
local alacrittyColors = {}
|
||||
for k, v in pairs(colors) do
|
||||
if type(v) == "string" then alacrittyColors[k] = v:gsub("^#", "0x") end
|
||||
if type(v) == "string" then
|
||||
alacrittyColors[k] = v:gsub("^#", "0x")
|
||||
end
|
||||
end
|
||||
|
||||
local alacritty = util.template([[
|
||||
local alacritty = util.template(
|
||||
[[
|
||||
# TokyoNight Alacritty Colors
|
||||
colors:
|
||||
# Default colors
|
||||
@@ -46,10 +49,11 @@ colors:
|
||||
- { index: 16, color: '${orange}' }
|
||||
- { index: 17, color: '${red1}' }
|
||||
|
||||
]], alacrittyColors)
|
||||
]],
|
||||
alacrittyColors
|
||||
)
|
||||
|
||||
return alacritty
|
||||
end
|
||||
|
||||
return M
|
||||
|
||||
|
||||
Reference in New Issue
Block a user