return { -- Configure LazyVim to load catppuccin { "catppuccin/nvim", name = "catppuccin", build = ":CatppuccinCompile", -- tag = "*", config = function() require("catppuccin").setup({ flavour = "auto", -- latte, frappe, macchiato, mocha background = { -- :h background light = "latte", dark = "macchiato", }, dim_inactive = { enabled = false, shade = "dark", percentage = 0.15, }, transparent_background = true, term_colors = false, compile = { enabled = false, path = vim.fn.stdpath("cache") .. "/catppuccin", }, styles = { comments = { "italic" }, conditionals = { "italic" }, loops = {}, functions = {}, keywords = { "italic" }, strings = {}, variables = {}, numbers = {}, booleans = {}, properties = {}, types = {}, operators = {}, }, color_overrides = { all = {}, mocha = { base = "#000000", mantle = "#000000", crust = "#000000", }, macchiato = { base = "#000000", mantle = "#000000", crust = "#000000", }, }, highlight_overrides = { all = function(colors) local darken = require("catppuccin.utils.colors").darken return { Search = { bg = darken(colors.peach, 0.8), fg = colors.base }, } end, }, integrations = { treesitter = true, native_lsp = { enabled = true, virtual_text = { errors = { "italic" }, hints = { "italic" }, warnings = { "italic" }, information = { "italic" }, }, underlines = { errors = { "underline" }, hints = { "underline" }, warnings = { "underline" }, information = { "underline" }, }, }, coc_nvim = false, lsp_trouble = true, cmp = true, blink_cmp = true, blink_indent = true, fzf = true, lsp_saga = false, gitgutter = false, gitsigns = true, leap = false, telescope = true, mason = true, noice = true, nvimtree = true, neotree = true, dap_ui = true, dap = true, which_key = true, indent_blankline = { enabled = true, colored_indent_levels = false, }, dashboard = false, neogit = false, vim_sneak = false, fern = false, barbar = true, bufferline = true, markdown = true, lightspeed = false, ts_rainbow = true, hop = true, notify = true, telekasten = false, symbols_outline = true, mini = false, aerial = false, vimwiki = false, beacon = false, snacks = true, }, }) vim.api.nvim_create_autocmd("ColorScheme", { callback = function() local colors = require("catppuccin.palettes").get_palette() vim.api.nvim_set_hl(0, "CmpItemKindCopilot", { fg = colors.lavender }) end, }) end, }, -- Configure LazyVim to load gruvbox { "LazyVim/LazyVim", opts = { colorscheme = "catppuccin-nvim", }, }, }