14 lines
526 B
Lua
14 lines
526 B
Lua
return {
|
|
"catppuccin/nvim",
|
|
name = "catppuccin",
|
|
lazy = false,
|
|
priority = 1000,
|
|
config = function()
|
|
-- Central theme (basic/.config/themes): flavor/colorscheme come from
|
|
-- $CATPPUCCIN_FLAVOR / $THEME_NVIM_COLORSCHEME so a future theme only
|
|
-- changes the central files (see themes/registry.conf).
|
|
require("catppuccin").setup({ flavor = os.getenv("CATPPUCCIN_FLAVOR") or "mocha" })
|
|
vim.cmd.colorscheme(os.getenv("THEME_NVIM_COLORSCHEME") or "catppuccin")
|
|
end,
|
|
}
|