From 7985243ead0aa3ce14f7bdc32eb9a42f233fddb1 Mon Sep 17 00:00:00 2001 From: Tyler Hallada Date: Thu, 19 Oct 2023 23:24:00 -0400 Subject: [PATCH] Disable custom gruvbox diff colors --- after/plugin/gruvbox.lua | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/after/plugin/gruvbox.lua b/after/plugin/gruvbox.lua index f3170cd..35274c8 100644 --- a/after/plugin/gruvbox.lua +++ b/after/plugin/gruvbox.lua @@ -1,16 +1,16 @@ -local colors = require("gruvbox.palette").get_base_colors({}, "dark", "hard"); - -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" }) - vim.api.nvim_set_hl(0, 'DiffChange', { bg = "#3B3307" }) - vim.api.nvim_set_hl(0, 'DiffText', { bg = "#4D520D" }) -end -FixGruvbox() - -vim.api.nvim_create_autocmd( - "ColorScheme", - { pattern = { "gruvbox" }, callback = FixGruvbox } -) +-- local colors = require("gruvbox.palette").get_base_colors({}, "dark", "hard"); +-- +-- 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" }) +-- vim.api.nvim_set_hl(0, 'DiffChange', { bg = "#3B3307" }) +-- vim.api.nvim_set_hl(0, 'DiffText', { bg = "#4D520D" }) +-- end +-- FixGruvbox() +-- +-- vim.api.nvim_create_autocmd( +-- "ColorScheme", +-- { pattern = { "gruvbox" }, callback = FixGruvbox } +-- )