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-09-09 00:16:11 +02:00
|
|
|
vim.g.catppuccin_flavour = os.getenv("CATPPUCCIN_FLAVOUR")
|
2022-05-15 20:56:19 +02:00
|
|
|
|
2022-07-19 20:19:36 +02:00
|
|
|
catppuccin.setup({
|
|
|
|
transparent_background = false,
|
2022-09-09 00:16:11 +02:00
|
|
|
integrations = { nvimtree = true }
|
2022-07-19 20:19:36 +02:00
|
|
|
})
|
2022-09-09 00:16:11 +02:00
|
|
|
|
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.cmd [[colorscheme catppuccin]]
|
2022-05-15 20:56:19 +02:00
|
|
|
end
|
|
|
|
|
|
|
|
return M
|