From 432e9bfe72d6bfe6ec3a2eec2da4aacff339ed58 Mon Sep 17 00:00:00 2001 From: loichyan Date: Sat, 8 Apr 2023 18:02:46 +0800 Subject: [PATCH] feat(catppuccin): enable integration for used plugins --- lua/lazyvim/plugins/colorscheme.lua | 48 +++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/lua/lazyvim/plugins/colorscheme.lua b/lua/lazyvim/plugins/colorscheme.lua index eca05e06..3bb9ae62 100644 --- a/lua/lazyvim/plugins/colorscheme.lua +++ b/lua/lazyvim/plugins/colorscheme.lua @@ -12,5 +12,53 @@ return { "catppuccin/nvim", lazy = true, name = "catppuccin", + opts = { + flavour = "mocha", + integrations = { + cmp = true, + dashboard = true, + gitsigns = true, + illuminate = true, + indent_blankline = { enabled = true }, + lsp_trouble = true, + markdown = true, + mason = true, + mini = true, + native_lsp = { + enabled = true, + virtual_text = { + errors = { "italic" }, + hints = { "italic" }, + warnings = { "italic" }, + information = { "italic" }, + }, + underlines = { + errors = { "undercurl" }, + hints = { "undercurl" }, + warnings = { "undercurl" }, + information = { "undercurl" }, + }, + }, + navic = { enabled = true }, + neotree = true, + noice = true, + notify = true, + semantic_tokens = true, + telescope = true, + treesitter = true, + treesitter_context = true, + which_key = true, + }, + custom_highlights = function(c) + return { + -- Use tokyonight style leap highlights. + LeapMatch = { fg = c.pink, bold = true }, + LeapLabelPrimary = { fg = c.green, bold = true }, + LeapLabelSecondary = { fg = c.blue, bold = true }, + LeapBackdrop = { fg = c.overlay0 }, + NavicText = { fg = c.text, bg = c.none }, + } + end, + }, }, }