Files
dotfiles/term/.config/nvim/lua/plugins/catppuccin.lua
T
2026-09-21 22:39:09 +02:00

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,
}