45 lines
910 B
Lua
45 lines
910 B
Lua
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 = {
|
|
enabled = true,
|
|
show_root = true,
|
|
transparent_panel = false,
|
|
},
|
|
navic = {
|
|
enabled = true,
|
|
custom_bg = "NONE",
|
|
},
|
|
lsp_saga = true,
|
|
treesitter_context = true,
|
|
ts_rainbow = true,
|
|
native_lsp = {
|
|
enabled = true,
|
|
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
|