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