From 84666b856a922a1130b7804769c4ecdf401195b3 Mon Sep 17 00:00:00 2001 From: Lorran David Date: Sat, 14 Sep 2024 18:51:03 -0300 Subject: [PATCH] set theme to catppuccin --- init.lua | 33 ++++++++++++++++++++++++++++++--- 1 file changed, 30 insertions(+), 3 deletions(-) diff --git a/init.lua b/init.lua index a7a74a87..634418de 100644 --- a/init.lua +++ b/init.lua @@ -837,11 +837,38 @@ require('lazy').setup({ -- Colorscheme { - 'EdenEast/nightfox.nvim', + 'catppuccin/nvim', + lazy = false, + priority = 1000, config = function() - require('nightfox').setup { - vim.cmd.colorscheme 'carbonfox', + require('catppuccin').setup { + integrations = { + cmp = true, + fidget = true, + gitsigns = true, + harpoon = true, + indent_blankline = { + enabled = false, + scope_color = 'sapphire', + colored_indent_levels = false, + }, + mason = true, + native_lsp = { enabled = true }, + noice = true, + notify = true, + symbols_outline = true, + telescope = true, + treesitter = true, + treesitter_context = true, + }, } + + vim.cmd.colorscheme 'catppuccin-macchiato' + + -- Hide all semantic highlights until upstream issues are resolved (https://github.com/catppuccin/nvim/issues/480) + for _, group in ipairs(vim.fn.getcompletion('@lsp', 'highlight')) do + vim.api.nvim_set_hl(0, group, {}) + end end, },