From 224bd5911c7a1224448ff0da93e39daa791bd47f Mon Sep 17 00:00:00 2001 From: Abhinav Robinson Date: Fri, 14 Jun 2024 12:59:02 +0530 Subject: [PATCH] feature: themes --- init.lua | 4 ++-- lua/custom/plugins/init.lua | 1 + lua/custom/plugins/themes.lua | 26 ++++++++++++++++++++++++++ 3 files changed, 29 insertions(+), 2 deletions(-) create mode 100644 lua/custom/plugins/themes.lua diff --git a/init.lua b/init.lua index 5cde6c52..025913cb 100644 --- a/init.lua +++ b/init.lua @@ -794,10 +794,10 @@ require('lazy').setup({ -- Load the colorscheme here. -- Like many other themes, this one has different styles, and you could load -- any other, such as 'tokyonight-storm', 'tokyonight-moon', or 'tokyonight-day'. - vim.cmd.colorscheme 'tokyonight-night' + --[[ vim.cmd.colorscheme 'tokyonight-storm' ]] -- You can configure highlights by doing something like: - vim.cmd.hi 'Comment gui=none' + --[[ vim.cmd.hi 'Comment gui=none' ]] end, }, diff --git a/lua/custom/plugins/init.lua b/lua/custom/plugins/init.lua index 0496b8d5..96ccca50 100644 --- a/lua/custom/plugins/init.lua +++ b/lua/custom/plugins/init.lua @@ -9,4 +9,5 @@ return { require 'custom.plugins.alpha', require 'custom.plugins.typescript-tools', require 'custom.plugins.tsc', + require 'custom.plugins.themes', } diff --git a/lua/custom/plugins/themes.lua b/lua/custom/plugins/themes.lua new file mode 100644 index 00000000..a89f4ffe --- /dev/null +++ b/lua/custom/plugins/themes.lua @@ -0,0 +1,26 @@ +return { + { + 'catppuccin/nvim', + name = 'catppuccin', + priority = 1000, + init = function() + --[[ vim.cmd.colorscheme 'catppuccin-mocha' ]] + --[[ vim.cmd.hi 'Comment gui=none' ]] + end, + }, + { + 'rebelot/kanagawa.nvim', + name = 'kanagawa', + priority = 1000, + init = function() + vim.cmd.colorscheme 'kanagawa' + vim.cmd.hi 'Comment gui=none' + end, + }, + { + 'morhetz/gruvbox', + name = 'gruvbox', + priority = 1000, + init = function() end, + }, +}