chore(nvim): use gruvbox-material

This commit is contained in:
João Paulo Dubas 2025-02-20 13:18:40 +00:00
parent 40f7bdc30c
commit 50ce118f56
Signed by: joao.dubas
SSH Key Fingerprint: SHA256:V1mixgOGRc/YMhGx/DNkOSmJxgA2vHNrDZEk3wt/kOA

View File

@ -1,5 +1,5 @@
diff --git a/init.lua b/init.lua
index 5cac3d1..099855a 100644
index 5cac3d1..813b1b4 100644
--- a/init.lua
+++ b/init.lua
@@ -91,7 +91,7 @@ vim.g.mapleader = ' '
@ -142,14 +142,15 @@ index 5cac3d1..099855a 100644
{ name = 'nvim_lsp' },
{ name = 'luasnip' },
{ 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`.
'folke/tokyonight.nvim',
+ dependencies = {
+ 'drewxs/ash.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.
config = function()
@ -171,11 +172,21 @@ index 5cac3d1..099855a 100644
- vim.cmd.colorscheme 'tokyonight-night'
+ -- For monoglow the following variants area available:
+ -- '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,
},
@@ -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
-- [[ Configure Treesitter ]] See `:help nvim-treesitter`
opts = {
@ -216,7 +227,7 @@ index 5cac3d1..099855a 100644
-- Autoinstall languages that are not installed
auto_install = true,
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).
--
-- require 'kickstart.plugins.debug',