|
|
|
@ -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
|
|
|
|
|
|
|
|
|
|