fix: custom highlights

dev
Pocco81 2 years ago
parent 7d8ce1e899
commit 482de1a974

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

Loading…
Cancel
Save