From 60c3dc2424dee7669e363667362d2733e6f46765 Mon Sep 17 00:00:00 2001 From: Pocco81 Date: Wed, 13 Jul 2022 16:43:35 -0500 Subject: [PATCH] do not instantiate custom_highlights --- lua/catppuccin/lib/highlighter.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lua/catppuccin/lib/highlighter.lua b/lua/catppuccin/lib/highlighter.lua index 3ab5287..4520347 100644 --- a/lua/catppuccin/lib/highlighter.lua +++ b/lua/catppuccin/lib/highlighter.lua @@ -36,13 +36,12 @@ function M.load(theme) vim.cmd("syntax reset") end g.colors_name = "catppuccin" - local custom_highlights = require("catppuccin.config").options.custom_highlights M.properties(theme.properties) M.syntax(theme.editor) M.syntax(theme.syntax) M.syntax(theme.integrations) - M.syntax(custom_highlights) + M.syntax(require("catppuccin.config").options.custom_highlights) if require("catppuccin.config").options["term_colors"] then M.properties(theme.terminal)