Use my fork of gruvbox

This commit is contained in:
Tyler Hallada 2023-12-01 15:26:01 -05:00
parent 44a01c44c4
commit d788112cf4
2 changed files with 1 additions and 17 deletions

View File

@ -1,16 +0,0 @@
local colors = require("gruvbox.palette").colors;
function FixGruvbox()
vim.api.nvim_set_hl(0, 'DiffviewDiffAddAsDelete', { bg = "#431313" })
vim.api.nvim_set_hl(0, 'DiffDelete', { bg = "none", fg = colors.dark2 })
vim.api.nvim_set_hl(0, 'DiffviewDiffDelete', { bg = "none", fg = colors.dark2 })
vim.api.nvim_set_hl(0, 'DiffAdd', { bg = "#142a03" }) -- #122f2f
vim.api.nvim_set_hl(0, 'DiffChange', { bg = "#3B3307" })
vim.api.nvim_set_hl(0, 'DiffText', { bg = "#4D520D" }) -- #2f3f5c
end
FixGruvbox()
vim.api.nvim_create_autocmd(
"ColorScheme",
{ pattern = { "gruvbox" }, callback = FixGruvbox }
)

View File

@ -442,7 +442,7 @@ return require('packer').startup(function(use)
end end
} }
use { use {
'ellisonleao/gruvbox.nvim', 'thallada/gruvbox.nvim',
config = function() config = function()
require('plugins.gruvbox') require('plugins.gruvbox')
end, end,