2022-05-15 20:56:19 +02:00
|
|
|
local M = {}
|
2022-05-10 18:00:16 +02:00
|
|
|
|
2022-05-15 20:56:19 +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()
|
|
|
|
local catppuccin = require("catppuccin")
|
|
|
|
|
|
|
|
catppuccin.setup({
|
2022-06-18 23:09:21 +02:00
|
|
|
transparent_background = false,
|
|
|
|
integrations = {nvimtree = {transparent_panel = false}}
|
2022-05-15 20:56:19 +02:00
|
|
|
})
|
|
|
|
|
2022-06-18 23:09:21 +02:00
|
|
|
vim.g.catppuccin_flavour = os.getenv("CATPPUCCIN_FLAVOUR")
|
2022-05-15 20:56:19 +02:00
|
|
|
vim.cmd [[colorscheme catppuccin]]
|
|
|
|
end
|
|
|
|
|
|
|
|
return M
|