dev (formatter): formatted with StyLua mapper

dev-doc
Pocco81 3 years ago
parent 58e9348dfb
commit d35ecf2147

@ -164,7 +164,7 @@ local function get_base()
GlyphPalette4 = { fg = cpt.blue },
GlyphPalette6 = { fg = cpt.green_br },
GlyphPalette7 = { fg = cpt.fg },
GlyphPalette9 = {fg = cpt.red}
GlyphPalette9 = { fg = cpt.red },
}
end
@ -175,17 +175,17 @@ local function get_integrations()
for integration in pairs(integrations) do
local cot = false
if (type(integrations[integration]) == "table") then
if (integrations[integration]["enabled"] == true) then
if type(integrations[integration]) == "table" then
if integrations[integration]["enabled"] == true then
cot = true
end
else
if (integrations[integration] == true) then
if integrations[integration] == true then
cot = true
end
end
if (cot) then
if cot then
table.insert(final_integrations, require("catppuccino.core.integrations." .. integration).get(cpt))
end
end
@ -197,10 +197,10 @@ local function get_properties()
local cpt = get_cs()
local props = {
termguicolors = true,
background = "dark"
background = "dark",
}
if (colors_util.assert_brightness(cpt.bg)) then
if colors_util.assert_brightness(cpt.bg) then
props["background"] = "light"
end

Loading…
Cancel
Save