local present, catppuccin = pcall(require, "catppuccin")
if present then
vim.g.catppuccin_flavour = "macchiato"
catppuccin.setup({
term_colors = true,
compile = {
enabled = true,
path = vim.fn.stdpath("cache") .. "/catppuccin",
},
integration = {
neotree = {
show_root = true,
transparent_panel = false,
navic = {
custom_bg = "NONE",
lsp_saga = true,
treesitter_context = true,
ts_rainbow = true,
native_lsp = {
virtual_text = {
errors = { "italic" },
hints = { "italic" },
warnings = { "italic" },
information = { "italic" },
underlines = {
errors = { "underline" },
hints = { "underline" },
warnings = { "underline" },
information = { "underline" },
which_key = true,
})
vim.cmd("colorscheme catppuccin")
end