diff --git a/lua/plugins/catppuccin.lua b/lua/plugins/catppuccin.lua new file mode 100644 index 0000000..ff10e09 --- /dev/null +++ b/lua/plugins/catppuccin.lua @@ -0,0 +1,48 @@ +return { + -- add catppuccin + { + "catppuccin/nvim", + lazy = true, + name = "catppuccin", + opts = { + integrations = { + cmp = true, + dashboard = true, + gitsigns = true, + indent_blankline = { enabled = true }, + mason = true, + markdown = true, + mini = true, + native_lsp = { + enabled = true, + underlines = { + errors = { "undercurl" }, + hints = { "undercurl" }, + warnings = { "undercurl" }, + information = { "undercurl" }, + }, + }, + semantic_tokens = true, + telescope = true, + treesitter = true, + which_key = true, + }, + }, + keys = { + { + "tt", + function() + vim.cmd.colorscheme(vim.o.background == "dark" and "catppuccin-latte" or "catppuccin-mocha") + end, + desc = "[T]oggle [T]heme", + }, + }, + }, + -- Configure LazyVim to load catppuccin + { + "LazyVim/LazyVim", + opts = { + colorscheme = "catppuccin-mocha", + }, + }, +}