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({
|
2022-07-27 10:00:25 +02:00
|
|
|
compile = { enabled = true },
|
2022-07-19 20:19:36 +02:00
|
|
|
transparent_background = false,
|
|
|
|
integrations = { nvimtree = { transparent_panel = false } }
|
|
|
|
})
|
2022-07-27 10:00:25 +02:00
|
|
|
print("loaded this theme!")
|
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
|