From 673c0bbec791bb2a6604d374f75632f6a86d802e Mon Sep 17 00:00:00 2001 From: Tyler Hallada Date: Fri, 24 Mar 2023 15:32:30 -0400 Subject: [PATCH] Use my fork of gruvbox --- after/plugin/gruvbox.lua | 16 ---------------- lua/install-plugins.lua | 2 +- 2 files changed, 1 insertion(+), 17 deletions(-) delete mode 100644 after/plugin/gruvbox.lua diff --git a/after/plugin/gruvbox.lua b/after/plugin/gruvbox.lua deleted file mode 100644 index 6b6d9d7..0000000 --- a/after/plugin/gruvbox.lua +++ /dev/null @@ -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 } -) diff --git a/lua/install-plugins.lua b/lua/install-plugins.lua index d2f7ba4..eb99e5c 100644 --- a/lua/install-plugins.lua +++ b/lua/install-plugins.lua @@ -442,7 +442,7 @@ return require('packer').startup(function(use) end } use { - 'ellisonleao/gruvbox.nvim', + 'thallada/gruvbox.nvim', config = function() require('plugins.gruvbox') end,