diff --git a/.config/nvim/lua/plugins/colors.lua b/.config/nvim/lua/plugins/colors.lua new file mode 100644 index 0000000..d78eb35 --- /dev/null +++ b/.config/nvim/lua/plugins/colors.lua @@ -0,0 +1,36 @@ +function ApplyColorscheme(color) + color = color or "default" + vim.cmd.colorscheme(color) + + vim.api.nvim_set_hl(0, "Normal", { bg = "none" }) + vim.api.nvim_set_hl(0, "NormalFloat", { bg = "none" }) +end +return { + { + "catppuccin/nvim", + name = "catppuccin", + priority = 1000, + config = function() + require('catppuccin').setup({ + term_colors = false, + transparent_background = true, + styles = { + comments = {}, + conditionals = {}, + loops = {}, + functions = {}, + keywords = {}, + strings = {}, + variables = {}, + numbers = {}, + booleans = {}, + properties = {}, + types = {}, + }, + }) + + ApplyColorscheme("catppuccin") + end + }, +} +