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/catppuccin/core/palettes/init.lua

13 lines
289 B
Lua

local M = {}
function M.get_palette()
local flvr = vim.g.catppuccin_flavour
if flvr == "mocha" or flvr == "latte" or flvr == "macchiato" or flvr == "frappe" then
return require("catppuccin.core.palettes." .. flvr)
end
return require("catppuccin.core.palettes.mocha")
end
return M