From 2f2a7595a93958f4964b60c15de3febacf11563c Mon Sep 17 00:00:00 2001 From: Niverton Date: Sat, 27 Jul 2024 13:18:21 +0200 Subject: [PATCH] fix(diff): fixed unknown diff hl colors --- lua/astrobox/highlights/modules/core.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lua/astrobox/highlights/modules/core.lua b/lua/astrobox/highlights/modules/core.lua index 59a4faf..3917412 100644 --- a/lua/astrobox/highlights/modules/core.lua +++ b/lua/astrobox/highlights/modules/core.lua @@ -62,12 +62,12 @@ return function(theme, palette) DiffText = theme.diff.bg.text, DiffAdded = { link = "DiffAdd" }, DiffRemoved = { link = "DiffDelete" }, - DiffChanged = { link = "DiffText" }, -- TODO Switch to DiffChange? + DiffChanged = { link = "DiffChange" }, DiffOldFile = theme.diff.normal.del, DiffNewFile = theme.diff.normal.add, - DiffFile = theme.error, -- TODO What's this? - DiffLine = theme.error, -- TODO What's this? - DiffIndexLine = theme.error, + DiffFile = { fg = palette.purple, italic = true }, + DiffLine = { fg = palette.blue }, + DiffIndexLine = { fg = palette.yellow, italic = true }, -- Cmd