diff --git a/lua/custom/plugins/colorschemes.lua b/lua/custom/plugins/colorschemes.lua new file mode 100644 index 00000000..ecb7d379 --- /dev/null +++ b/lua/custom/plugins/colorschemes.lua @@ -0,0 +1,75 @@ +return { + { + 'sainnhe/gruvbox-material', + lazy = false, + priority = 1000, + config = function() + vim.cmd.colorscheme 'gruvbox-material' + end, + enabled = false, + }, + + { + 'sainnhe/sonokai', + lazy = false, + priority = 1000, + config = function() + vim.g.sonokai_style = 'shusia' + vim.cmd.colorscheme 'sonokai' + end, + enabled = false, + }, + + { + 'catppuccin/nvim', + lazy = false, + priority = 1000, + config = function() + require('catppuccin').setup { + integrations = { + cmp = true, + fidget = true, + gitsigns = true, + harpoon = true, + indent_blankline = { + enabled = false, + scope_color = 'sapphire', + colored_indent_levels = false, + }, + mason = true, + native_lsp = { enabled = true }, + noice = true, + notify = true, + symbols_outline = true, + telescope = true, + treesitter = true, + treesitter_context = true, + }, + } + + vim.cmd.colorscheme 'catppuccin-macchiato' + + -- Hide all semantic highlights until upstream issues are resolved (https://github.com/catppuccin/nvim/issues/480) + for _, group in ipairs(vim.fn.getcompletion('@lsp', 'highlight')) do + vim.api.nvim_set_hl(0, group, {}) + end + end, + enabled = false, + }, + + { + 'rose-pine/neovim', + name = 'rose-pine', + lazy = false, + priority = 1000, + config = function() + require('rose-pine').setup { + highlight_groups = { + Normal = { bg = '#111111' }, + }, + } + + vim.cmd.colorscheme 'rose-pine' + end, + }, +} diff --git a/lua/custom/plugins/init.lua b/lua/custom/plugins/init.lua index 37acf0ca..3660fa9c 100644 --- a/lua/custom/plugins/init.lua +++ b/lua/custom/plugins/init.lua @@ -94,63 +94,6 @@ return { enabled = true, }, - { - 'sainnhe/gruvbox-material', - lazy = false, - priority = 1000, - config = function() - vim.cmd.colorscheme 'gruvbox-material' - end, - enabled = false, - }, - - { - 'sainnhe/sonokai', - lazy = false, - priority = 1000, - config = function() - vim.g.sonokai_style = 'shusia' - vim.cmd.colorscheme 'sonokai' - end, - enabled = false, - }, - - { - 'catppuccin/nvim', - lazy = false, - priority = 1000, - config = function() - require('catppuccin').setup { - integrations = { - cmp = true, - fidget = true, - gitsigns = true, - harpoon = true, - indent_blankline = { - enabled = false, - scope_color = 'sapphire', - colored_indent_levels = false, - }, - mason = true, - native_lsp = { enabled = true }, - noice = true, - notify = true, - symbols_outline = true, - telescope = true, - treesitter = true, - treesitter_context = true, - }, - } - - vim.cmd.colorscheme 'catppuccin-macchiato' - - -- Hide all semantic highlights until upstream issues are resolved (https://github.com/catppuccin/nvim/issues/480) - for _, group in ipairs(vim.fn.getcompletion('@lsp', 'highlight')) do - vim.api.nvim_set_hl(0, group, {}) - end - end, - }, - { 'echasnovski/mini.cursorword', version = false, @@ -175,7 +118,7 @@ return { }, }, init = function() - local macchiato = require('catppuccin.palettes').get_palette 'macchiato' + -- local macchiato = require('catppuccin.palettes').get_palette 'macchiato' vim.api.nvim_create_autocmd('FileType', { pattern = { 'help', @@ -190,7 +133,7 @@ return { end, }) - vim.api.nvim_set_hl(0, 'MiniIndentscopeSymbol', { fg = macchiato.mauve }) + -- vim.api.nvim_set_hl(0, 'MiniIndentscopeSymbol', { fg = macchiato.mauve }) end, },