2022-05-15 20:56:19 +02:00
|
|
|
local M = {}
|
2022-05-10 18:00:16 +02:00
|
|
|
|
2022-07-19 20:19:36 +02:00
|
|
|
M.deps = { { "catppuccin/nvim", as = "catppuccin" } }
|
2022-05-10 19:04:51 +02:00
|
|
|
|
2022-05-15 20:56:19 +02:00
|
|
|
function M.setup()
|
2022-07-19 20:19:36 +02:00
|
|
|
local catppuccin = require("catppuccin")
|
2022-05-15 20:56:19 +02:00
|
|
|
|
2022-07-19 20:19:36 +02:00
|
|
|
catppuccin.setup({
|
|
|
|
compile = { enable = true },
|
|
|
|
transparent_background = false,
|
|
|
|
integrations = { nvimtree = { transparent_panel = false } }
|
|
|
|
})
|
2022-05-15 20:56:19 +02:00
|
|
|
|
2022-07-19 20:19:36 +02:00
|
|
|
vim.g.catppuccin_flavour = os.getenv("CATPPUCCIN_FLAVOUR")
|
|
|
|
vim.cmd [[colorscheme catppuccin]]
|
2022-05-15 20:56:19 +02:00
|
|
|
end
|
|
|
|
|
|
|
|
return M
|