fix(diff): fixed unknown diff hl colors

This commit is contained in:
2024-07-27 13:18:21 +02:00
parent 4e6fc21d4a
commit 2f2a7595a9

View File

@@ -62,12 +62,12 @@ return function(theme, palette)
DiffText = theme.diff.bg.text, DiffText = theme.diff.bg.text,
DiffAdded = { link = "DiffAdd" }, DiffAdded = { link = "DiffAdd" },
DiffRemoved = { link = "DiffDelete" }, DiffRemoved = { link = "DiffDelete" },
DiffChanged = { link = "DiffText" }, -- TODO Switch to DiffChange? DiffChanged = { link = "DiffChange" },
DiffOldFile = theme.diff.normal.del, DiffOldFile = theme.diff.normal.del,
DiffNewFile = theme.diff.normal.add, DiffNewFile = theme.diff.normal.add,
DiffFile = theme.error, -- TODO What's this? DiffFile = { fg = palette.purple, italic = true },
DiffLine = theme.error, -- TODO What's this? DiffLine = { fg = palette.blue },
DiffIndexLine = theme.error, DiffIndexLine = { fg = palette.yellow, italic = true },
-- Cmd -- Cmd