From aedd1064f06a206fc9a772c5cd7c2165405fd0bd Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Mon, 19 Feb 2024 03:46:35 -0600 Subject: [PATCH] refactor(nvim): use `@diff` hls for heirline git status --- dots/.config/nvim/lua/plugins/configs/heirline.lua | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/dots/.config/nvim/lua/plugins/configs/heirline.lua b/dots/.config/nvim/lua/plugins/configs/heirline.lua index 94d1eb69..61fead3b 100644 --- a/dots/.config/nvim/lua/plugins/configs/heirline.lua +++ b/dots/.config/nvim/lua/plugins/configs/heirline.lua @@ -6,7 +6,6 @@ return { "lewis6991/gitsigns.nvim", }, opts = function() - local core_utils = require("utils.funcs") local colors = require("kanagawa.colors").setup().palette local seps = { @@ -1009,21 +1008,21 @@ return { local count = self.status_dict.added or 0 return count > 0 and (" " .. count) end, - hl = { fg = utils.get_highlight("Character").fg, bg = colors.sumiInk4 }, + hl = { fg = utils.get_highlight("@diff.plus").fg, bg = colors.sumiInk4 }, }, { provider = function(self) local count = self.status_dict.changed or 0 return count > 0 and ("  " .. count) end, - hl = { fg = utils.get_highlight("DiffChanged").fg, bg = colors.sumiInk4 }, + hl = { fg = utils.get_highlight("@diff.delta").fg, bg = colors.sumiInk4 }, }, { provider = function(self) local count = self.status_dict.removed or 0 return count > 0 and ("  " .. count) end, - hl = { fg = utils.get_highlight("DiffDelete").fg, bg = colors.sumiInk4 }, + hl = { fg = utils.get_highlight("@diff.minus").fg, bg = colors.sumiInk4 }, }, { condition = function(self)