chore(nvim): use gruvbox-material #188

Merged
joao.dubas merged 1 commits from jpd/chore/use-gruvbox-materia into main 2025-02-22 15:51:59 +00:00

View File

@ -1,5 +1,5 @@
diff --git a/init.lua b/init.lua diff --git a/init.lua b/init.lua
index 5cac3d1..099855a 100644 index 5cac3d1..813b1b4 100644
--- a/init.lua --- a/init.lua
+++ b/init.lua +++ b/init.lua
@@ -91,7 +91,7 @@ vim.g.mapleader = ' ' @@ -91,7 +91,7 @@ vim.g.mapleader = ' '
@ -142,14 +142,15 @@ index 5cac3d1..099855a 100644
{ name = 'nvim_lsp' }, { name = 'nvim_lsp' },
{ name = 'luasnip' }, { name = 'luasnip' },
{ name = 'path' }, { name = 'path' },
@@ -890,19 +973,26 @@ require('lazy').setup({ @@ -890,19 +973,37 @@ require('lazy').setup({
-- --
-- If you want to see what colorschemes are already installed, you can use `:Telescope colorscheme`. -- If you want to see what colorschemes are already installed, you can use `:Telescope colorscheme`.
'folke/tokyonight.nvim', 'folke/tokyonight.nvim',
+ dependencies = { + dependencies = {
+ 'drewxs/ash.nvim', + 'drewxs/ash.nvim',
+ 'wnkz/monoglow.nvim', + 'wnkz/monoglow.nvim',
+ 'rjshkhr/shadow.nvim' + 'rjshkhr/shadow.nvim',
+ 'sainnhe/gruvbox-material',
+ }, + },
priority = 1000, -- Make sure to load this before all the other start plugins. priority = 1000, -- Make sure to load this before all the other start plugins.
config = function() config = function()
@ -171,11 +172,21 @@ index 5cac3d1..099855a 100644
- vim.cmd.colorscheme 'tokyonight-night' - vim.cmd.colorscheme 'tokyonight-night'
+ -- For monoglow the following variants area available: + -- For monoglow the following variants area available:
+ -- 'monoglow-z', 'monoglow-lack', or 'monoglow-void'. + -- 'monoglow-z', 'monoglow-lack', or 'monoglow-void'.
+ vim.cmd.colorscheme 'shadow' + -- gruvbox-material configuration based on https://github.com/gonstoll/dotfiles/blob/2d7ec07bd475c73e7ba1a48b27a2a85315bfd2d1/.config/nvim/lua/plugins/colorscheme/gruvbox.lua#L5-L13
+ vim.g.gruvbox_material_better_performance = 1
+ vim.g.gruvbox_material_foreground = 'material'
+ vim.g.gruvbox_material_background = 'medium'
+ vim.g.gruvbox_material_ui_contrast = 'low'
+ vim.g.gruvbox_material_float_style = 'dim'
+ vim.g.gruvbox_material_enable_italic = 0
+ vim.g.gruvbox_material_disable_italic_comment = 1
+ vim.g.gruvbox_material_cursor = 'red'
+ vim.g.gruvbox_material_disable_terminal_colors = 1
+ vim.cmd.colorscheme 'gruvbox-material'
end, end,
}, },
@@ -952,7 +1042,39 @@ require('lazy').setup({ @@ -952,7 +1053,39 @@ require('lazy').setup({
main = 'nvim-treesitter.configs', -- Sets main module to use for opts main = 'nvim-treesitter.configs', -- Sets main module to use for opts
-- [[ Configure Treesitter ]] See `:help nvim-treesitter` -- [[ Configure Treesitter ]] See `:help nvim-treesitter`
opts = { opts = {
@ -216,7 +227,7 @@ index 5cac3d1..099855a 100644
-- Autoinstall languages that are not installed -- Autoinstall languages that are not installed
auto_install = true, auto_install = true,
highlight = { highlight = {
@@ -982,17 +1104,17 @@ require('lazy').setup({ @@ -982,17 +1115,17 @@ require('lazy').setup({
-- Uncomment any of the lines below to enable them (you will need to restart nvim). -- Uncomment any of the lines below to enable them (you will need to restart nvim).
-- --
-- require 'kickstart.plugins.debug', -- require 'kickstart.plugins.debug',