Merge pull request #154 from laxtiz/main

fix:#153 after_loading callback recursive execute
dev
Pocco81 3 years ago committed by GitHub
commit e3eba33383
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -15,8 +15,9 @@ function M.get(cp)
if not get_prepared() then
local catppuccin = require("catppuccin")
if catppuccin.after_loading ~= nil then
local callback = catppuccin.after_loading
catppuccin.after_loading = function ()
catppuccin.after_loading()
callback()
require'lightspeed'.init_highlight()
end
else

Loading…
Cancel
Save