BREAKING CHANGE: removed 'remaps' module

dev
Pocco81 2 years ago
parent 482de1a974
commit 12ca216fe9

@ -207,8 +207,6 @@ local function get_integrations()
end end
end end
final_integrations =
vim.tbl_deep_extend("force", final_integrations, require("catppuccin.core.remaps").get_hig_remaps() or {})
return final_integrations return final_integrations
end end

@ -1,13 +0,0 @@
local M = {}
local hig_remaps -- highlight groups
function M.get_hig_remaps()
return hig_remaps
end
function M.set_hig_remaps(val)
hig_remaps = val
end
return M

@ -4,11 +4,6 @@ function M.load()
require("catppuccin.main").main("load") require("catppuccin.main").main("load")
end end
function M.remap(hi_groups)
hi_groups = hi_groups or {}
require("catppuccin.core.remaps").set_hig_remaps(hi_groups)
end
function M.setup(custom_opts) function M.setup(custom_opts)
require("catppuccin.config").set_options(custom_opts) require("catppuccin.config").set_options(custom_opts)
end end

Loading…
Cancel
Save