From 0b9e1e36fc2c814a8887364be089dfea6d2ac0d0 Mon Sep 17 00:00:00 2001 From: Pocco81 Date: Fri, 20 Aug 2021 13:52:03 -0500 Subject: [PATCH] dev: added hooks --- lua/catppuccino/init.lua | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/lua/catppuccino/init.lua b/lua/catppuccino/init.lua index c580308..3cec861 100644 --- a/lua/catppuccino/init.lua +++ b/lua/catppuccino/init.lua @@ -1,7 +1,18 @@ local M = {} function M.load() + + local catppuccino = require("catppuccino") + + if (catppuccino.before_loading ~= nil) then + catppuccino.before_loading() + end + require("catppuccino.main").main("load") + + if (catppuccino.after_loading ~= nil) then + catppuccino.after_loading() + end end function M.setup(custom_opts)