diff options
| author | Jean-Pierre Appel <jeanpierre.appel01@gmail.com> | 2024-01-19 18:33:35 -0500 |
|---|---|---|
| committer | Jean-Pierre Appel <jeanpierre.appel01@gmail.com> | 2024-01-19 18:33:35 -0500 |
| commit | ba29464d80cbb621fdc8aa9ae03f8971a59135a5 (patch) | |
| tree | 7905f50116257f63dafea42927ee56ef29735995 /nvim/lua | |
| parent | dadd50e66bb8ab759bce2efd2d3fba4cbb5dd255 (diff) | |
refactor: colorscheme loading
Diffstat (limited to 'nvim/lua')
| -rw-r--r-- | nvim/lua/plugins/colorscheme.lua | 52 |
1 files changed, 30 insertions, 22 deletions
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) |
