mirror of https://github.com/sgoudham/nvim.git
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.
13 lines
291 B
Lua
13 lines
291 B
Lua
local M = {}
|
|
|
|
function M.get_palette()
|
|
local flvr = vim.g.catppuccin_flavour
|
|
|
|
if flvr == "moccha" or flvr == "latte" or flvr == "macchiato" or flvr == "frappe" then
|
|
return require("catppuccin.core.palettes." .. flvr)
|
|
end
|
|
return require("catppuccin.core.palettes.moccha")
|
|
end
|
|
|
|
return M
|