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
262 B
Lua
13 lines
262 B
Lua
3 years ago
|
local M = {}
|
||
|
|
||
|
function M.get_palette()
|
||
|
local flvr = vim.g.catppuccin_flavour
|
||
|
|
||
|
if flvr == "dusk" or flvr == "dawn" or flvr == "storm" then
|
||
|
return require("catppuccin.core.palettes." .. flvr)
|
||
|
end
|
||
|
return require("catppuccin.core.palettes.dusk")
|
||
|
end
|
||
|
|
||
|
return M
|