From 9f20c1f313e20102dd83adeaf091284be1fd82d0 Mon Sep 17 00:00:00 2001 From: "eric.marin" Date: Wed, 11 Sep 2024 14:49:39 +0200 Subject: config --- nvim/lua/plugins/catppuccin.lua | 58 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 nvim/lua/plugins/catppuccin.lua (limited to 'nvim/lua/plugins/catppuccin.lua') diff --git a/nvim/lua/plugins/catppuccin.lua b/nvim/lua/plugins/catppuccin.lua new file mode 100644 index 0000000..8599732 --- /dev/null +++ b/nvim/lua/plugins/catppuccin.lua @@ -0,0 +1,58 @@ +local config = function() + require("catppuccin").setup({ + custom_highlights = function(colors) + return { + TodoError = { fg = colors.base, bg = colors.red }, + } + end, + integrations = { + dashboard = true, + indent_blankline = { + enabled = true, + colored_indent_levels = false, + }, + lsp_saga = false, + neotree = false, + cmp = true, + native_lsp = { + enabled = true, + virtual_text = { + errors = { "italic" }, + hints = { "italic" }, + warnings = { "italic" }, + information = { "italic" }, + ok = { "italic" }, + }, + underlines = { + errors = { "undercurl" }, + hints = { "underline" }, + warnings = { "undercurl" }, + information = { "underline" }, + ok = { "underline" }, + }, + inlay_hints = { + background = true, + }, + }, + treesitter = true, + telescope = { + enabled = true, + -- style = "nvchad" + }, + lsp_trouble = false, + illuminate = { + enabled = true, + lsp = false + }, + which_key = false + } + }) + vim.cmd.colorscheme("catppuccin-macchiato") +end + +return { + "catppuccin/nvim", + name = "catppuccin", + lazy = false, + config = config, +} -- cgit v1.2.3