feat(nvim): add lackluster theme

This commit is contained in:
João Paulo Dubas 2025-04-21 13:56:08 +00:00
parent 7e15d34664
commit f8ffa3660e
Signed by: joao.dubas
SSH Key Fingerprint: SHA256:3M3n7tHeZMwM8NoM+MTvQ4zohO8MFFiyZVTZvmSEZb4

View File

@ -1,5 +1,5 @@
diff --git a/init.lua b/init.lua diff --git a/init.lua b/init.lua
index 776c687..45f3af0 100644 index 776c687..28ba9f3 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 = ' '
@ -160,7 +160,7 @@ index 776c687..45f3af0 100644
}, },
}, },
@@ -874,19 +964,37 @@ require('lazy').setup({ @@ -874,19 +964,39 @@ 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',
@ -169,6 +169,7 @@ index 776c687..45f3af0 100644
+ 'wnkz/monoglow.nvim', + 'wnkz/monoglow.nvim',
+ 'rjshkhr/shadow.nvim', + 'rjshkhr/shadow.nvim',
+ 'sainnhe/gruvbox-material', + 'sainnhe/gruvbox-material',
+ 'slugbyte/lackluster.nvim',
+ }, + },
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()
@ -191,20 +192,21 @@ index 776c687..45f3af0 100644
+ -- 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'.
+ -- gruvbox-material configuration based on https://github.com/gonstoll/dotfiles/blob/2d7ec07bd475c73e7ba1a48b27a2a85315bfd2d1/.config/nvim/lua/plugins/colorscheme/gruvbox.lua#L5-L13 + -- 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_better_performance = 1
+ vim.g.gruvbox_material_foreground = 'material' + -- vim.g.gruvbox_material_foreground = 'material'
+ vim.g.gruvbox_material_background = 'medium' + -- vim.g.gruvbox_material_background = 'medium'
+ vim.g.gruvbox_material_ui_contrast = 'low' + -- vim.g.gruvbox_material_ui_contrast = 'low'
+ vim.g.gruvbox_material_float_style = 'dim' + -- vim.g.gruvbox_material_float_style = 'dim'
+ vim.g.gruvbox_material_enable_italic = 0 + -- vim.g.gruvbox_material_enable_italic = 0
+ vim.g.gruvbox_material_disable_italic_comment = 1 + -- vim.g.gruvbox_material_disable_italic_comment = 1
+ vim.g.gruvbox_material_cursor = 'red' + -- vim.g.gruvbox_material_cursor = 'red'
+ vim.g.gruvbox_material_disable_terminal_colors = 1 + -- vim.g.gruvbox_material_disable_terminal_colors = 1
+ vim.cmd.colorscheme 'gruvbox-material' + -- vim.cmd.colorscheme 'gruvbox-material'
+ vim.cmd.colorscheme 'lackluster'
end, end,
}, },
@@ -936,7 +1044,39 @@ require('lazy').setup({ @@ -936,7 +1046,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 = {
@ -245,7 +247,7 @@ index 776c687..45f3af0 100644
-- Autoinstall languages that are not installed -- Autoinstall languages that are not installed
auto_install = true, auto_install = true,
highlight = { highlight = {
@@ -966,17 +1106,17 @@ require('lazy').setup({ @@ -966,17 +1108,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',