You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nvim/lua/catppuccino/core/cs.lua

23 lines
394 B
Lua

local M = {}
local cs_remaps
function M.get_remaps()
return cs_remaps
end
function M.set_remaps(val)
cs_remaps = val
end
function M.get_color_scheme(cs)
local remaps = M.get_remaps()
if not (next(remaps) == nil) then
return vim.tbl_deep_extend("force", require("catppuccino.color_schemes." .. cs), remaps)
else
return require("catppuccino.color_schemes." .. cs)
end
end
return M