From 8575384807b0cd8cad7f44cb62c73821ccb1928f Mon Sep 17 00:00:00 2001 From: Pocco81 Date: Wed, 13 Jul 2022 16:28:57 -0500 Subject: [PATCH] fix: remanents of utils.util --- lua/catppuccin/init.lua | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/lua/catppuccin/init.lua b/lua/catppuccin/init.lua index fe55b99..5c05520 100644 --- a/lua/catppuccin/init.lua +++ b/lua/catppuccin/init.lua @@ -22,11 +22,11 @@ end, { }) command("CatppuccinCompile", function() - require("catppuccin.utils.util").compile() + require("catppuccin.lib.compiler").compile() end, {}) command("CatppuccinClean", function() - require("catppuccin.utils.util").clean() + require("catppuccin.lib.compiler").clean() end, {}) function M.load() @@ -52,9 +52,7 @@ function M.load() end if not loaded then -- colorscheme gets evaluated from mapper.lua - local theme = require("catppuccin.lib.mapper").apply() - local utils = require("catppuccin.utils.util") - utils.load(theme) + require("catppuccin.lib.highlighter").load(require("catppuccin.lib.mapper").apply()) if catppuccin.after_loading ~= nil then catppuccin.after_loading()