|
|
@ -12,18 +12,14 @@ end
|
|
|
|
|
|
|
|
|
|
|
|
function M.get()
|
|
|
|
function M.get()
|
|
|
|
if not get_prepared() then
|
|
|
|
if not get_prepared() then
|
|
|
|
local catppuccin = require("catppuccin")
|
|
|
|
set_prepared(vim.api.nvim_create_autocmd("User", {
|
|
|
|
if catppuccin.after_loading ~= nil then
|
|
|
|
pattern = "CatppuccinLoaded",
|
|
|
|
catppuccin.after_loading = function()
|
|
|
|
callback = function()
|
|
|
|
catppuccin.after_loading()
|
|
|
|
if pcall(require, "leap") then
|
|
|
|
require("leap").init_highlight(true)
|
|
|
|
require("leap").init_highlight(true)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
else
|
|
|
|
end,
|
|
|
|
catppuccin.after_loading = function()
|
|
|
|
}))
|
|
|
|
require("leap").init_highlight(true)
|
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
set_prepared(true)
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
return {
|
|
|
|
return {
|
|
|
|