From ba29464d80cbb621fdc8aa9ae03f8971a59135a5 Mon Sep 17 00:00:00 2001 From: Jean-Pierre Appel Date: Fri, 19 Jan 2024 18:33:35 -0500 Subject: refactor: colorscheme loading --- nvim/lua/plugins/colorscheme.lua | 52 +++++++++++++++++++++++----------------- 1 file changed, 30 insertions(+), 22 deletions(-) (limited to 'nvim/lua/plugins/colorscheme.lua') diff --git a/nvim/lua/plugins/colorscheme.lua b/nvim/lua/plugins/colorscheme.lua index f225789..26a545d 100644 --- a/nvim/lua/plugins/colorscheme.lua +++ b/nvim/lua/plugins/colorscheme.lua @@ -1,23 +1,31 @@ -local colorscheme = { - lazy = false, - priority = 1000 +return { + { + "catppuccin/nvim" , + name = "catpuccin", + lazy = false, + priority = 1000, + enabled = true, + config = function() + vim.cmd[[colorscheme catppuccin-mocha]] + end + }, + { + "mbrea-c/wal-colors.nvim", + enabled = false, + lazy = false, + priority = 1000, + config = function() + vim.cmd[[colorscheme mbc]] + end, + }, + { + 'folke/tokyonight.nvim', + name = 'tokyonight', + enabled = false, + lazy = false, + priority = 1000, + config = function() + vim.cmd[[colorscheme tokyonight-night]] + end + } } - -local catpuccin = { - "catppuccin/nvim" , - name = "catpuccin", - config = function() - vim.cmd[[colorscheme catppuccin-mocha]] - end -} - -local tokyonight = { - 'folke/tokyonight.nvim', - name = 'tokyonight', - config = function() - vim.cmd[[colorscheme tokyonight-night]] - end -} - --- combine default colorscheme settings with selected theme -return vim.tbl_extend('force', colorscheme, catpuccin) -- cgit v1.2.3