fix: remanents of utils.util

dev
Pocco81 2 years ago
parent e9e33541c4
commit 8575384807

@ -22,11 +22,11 @@ end, {
}) })
command("CatppuccinCompile", function() command("CatppuccinCompile", function()
require("catppuccin.utils.util").compile() require("catppuccin.lib.compiler").compile()
end, {}) end, {})
command("CatppuccinClean", function() command("CatppuccinClean", function()
require("catppuccin.utils.util").clean() require("catppuccin.lib.compiler").clean()
end, {}) end, {})
function M.load() function M.load()
@ -52,9 +52,7 @@ function M.load()
end end
if not loaded then -- colorscheme gets evaluated from mapper.lua if not loaded then -- colorscheme gets evaluated from mapper.lua
local theme = require("catppuccin.lib.mapper").apply() require("catppuccin.lib.highlighter").load(require("catppuccin.lib.mapper").apply())
local utils = require("catppuccin.utils.util")
utils.load(theme)
if catppuccin.after_loading ~= nil then if catppuccin.after_loading ~= nil then
catppuccin.after_loading() catppuccin.after_loading()

Loading…
Cancel
Save