diff --git a/lua/plugins/catppuccin.lua b/lua/plugins/catppuccin.lua index a40c233..f22293a 100644 --- a/lua/plugins/catppuccin.lua +++ b/lua/plugins/catppuccin.lua @@ -1,40 +1,31 @@ -local config = { - flavour = "macchiato", - term_colors = true, - transparent_background = true, - integrations = { - alpha = true, - gitsigns = true, - hop = true, - indent_blankline = { enabled = true, colored_indent_levels = true }, - cmp = true, - markdown = true, - mini = true, - native_lsp = { enabled = true }, - neogit = true, - neotree = true, - noice = true, - notify = true, - navic = { enabled = true }, - treesitter = true, - treesitter_context = true, - telescope = true, - lsp_trouble = true, - which_key = true, - }, -} - -if vim.g.neovide then config.transparent_background = false end - return { "catppuccin/nvim", - enabled = false, name = "catppuccin", - lazy = false, - priority = 1000, - init = function() vim.opt.termguicolors = true end, - config = function() - require("catppuccin").setup(config) - vim.cmd.colorscheme "catppuccin" - end, + lazy = true, + config = true, + opts = { + flavour = "macchiato", + term_colors = true, + transparent_background = false, + integrations = { + alpha = true, + gitsigns = true, + hop = true, + indent_blankline = { enabled = true, colored_indent_levels = true }, + cmp = true, + markdown = true, + mini = true, + native_lsp = { enabled = true }, + neogit = true, + neotree = true, + noice = true, + notify = true, + navic = { enabled = true }, + treesitter = true, + treesitter_context = true, + telescope = true, + lsp_trouble = true, + which_key = true, + }, + }, } diff --git a/lua/plugins/tokyonight.lua b/lua/plugins/tokyonight.lua index 5e7ecee..5633759 100644 --- a/lua/plugins/tokyonight.lua +++ b/lua/plugins/tokyonight.lua @@ -1,9 +1,9 @@ return { "folke/tokyonight.nvim", lazy = true, + config = true, opts = { transparent = false, styles = { sidebars = "normal", floats = "transparent" }, }, - config = true, }