Merge branch 'main' into dev

dev
Pocco81 2 years ago
commit d12706ea61

@ -77,6 +77,7 @@ config.options = {
telekasten = true,
symbols_outline = true,
},
custom_highlights = {},
}
function config.set_options(opts)

@ -6,6 +6,16 @@ function M.get(cp)
TelescopeSelectionCaret = { fg = cp.flamingo },
TelescopeSelection = { fg = cp.text, bg = cp.surface0, style = "bold" },
TelescopeMatching = { fg = cp.blue },
TelescopePromptPrefix = { bg = cp.crust },
TelescopePromptNormal = { bg = cp.crust},
TelescopeResultsNormal = { bg = cp.mantle},
TelescopePreviewNormal = { bg = cp.crust },
TelescopePromptBorder = { bg = cp.crust, fg = cp.crust },
TelescopeResultsBorder = { bg = cp.mantle, fg = cp.crust },
TelescopePreviewBorder = { bg = cp.crust, fg = cp.crust },
TelescopePromptTitle = { fg = cp.crust },
TelescopeResultsTitle = { fg = cp.text },
TelescopePreviewTitle = { fg = cp.crust },
}
end

@ -82,12 +82,16 @@ function util.load(theme)
if vim.fn.exists("syntax_on") then
vim.cmd("syntax reset")
end
local custom_highlights = require("catppuccin.config").options.custom_highlights
g.colors_name = "catppuccin"
util.properties(theme.properties)
util.syntax(theme.base)
util.syntax(theme.integrations)
util.syntax(custom_highlights)
if require("catppuccin.config").options["term_colors"] then
util.terminal(theme.terminal)

Loading…
Cancel
Save