diff options
| author | eric.marin <maarin.eric@gmail.com> | 2024-09-11 14:49:39 +0200 |
|---|---|---|
| committer | eric.marin <maarin.eric@gmail.com> | 2024-09-11 14:59:47 +0200 |
| commit | 9f20c1f313e20102dd83adeaf091284be1fd82d0 (patch) | |
| tree | d3db386875af532f4fc55c275312c7c787e88f55 /nvim/lua/plugins/catppuccin.lua | |
| download | dotfiles-9f20c1f313e20102dd83adeaf091284be1fd82d0.tar.gz dotfiles-9f20c1f313e20102dd83adeaf091284be1fd82d0.zip | |
config
Diffstat (limited to '')
| -rw-r--r-- | nvim/lua/plugins/catppuccin.lua | 58 |
1 files changed, 58 insertions, 0 deletions
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, +} |
