fix(diff): do not change fg colors. use dimmed bg colors
Some checks failed
CI / extras (push) Has been cancelled
CI / release (push) Has been cancelled
CI / tests (ubuntu-latest) (push) Has been cancelled
CI / docs (push) Has been cancelled

This commit is contained in:
Takuya Matsuyama 2026-05-08 13:21:02 +09:00
parent 2cf4b67fb7
commit f675d9a5c5

View file

@ -11,10 +11,10 @@ function M.get(c, options)
CursorColumn = { bg = c.base02 }, -- Screen-column at the cursor, when 'cursorcolumn' is set.
CursorLine = { bg = c.base03 }, -- Screen-line at the cursor, when 'cursorline' is set. Low-priority if foreground (ctermfg OR guifg) is not set.
Directory = { fg = c.blue500 }, -- directory names (and other special names in listings)
DiffAdd = { fg = c.green500, bg = c.base02, bold = true }, -- diff mode: Added line |diff.txt|
DiffChange = { fg = c.yellow500, bg = c.base02, bold = true }, -- diff mode: Changed line |diff.txt|
DiffDelete = { fg = c.red500, bg = c.base02, bold = true }, -- diff mode: Deleted line |diff.txt|
DiffText = { fg = c.blue500, bg = c.base02, bold = true }, -- diff mode: Changed text within a changed line |diff.txt|
DiffAdd = { bg = c.cyan900 }, -- diff mode: Added line |diff.txt|
DiffChange = { bg = c.green950 }, -- diff mode: Changed line |diff.txt|
DiffDelete = { bg = c.red950 }, -- diff mode: Deleted line |diff.txt|
DiffText = { bg = c.green900, bold = true }, -- diff mode: Changed text within a changed line |diff.txt|
EndOfBuffer = { fg = c.base01 }, -- filler lines (~) after the end of the buffer. By default, this is highlighted like |hl-NonText|.
-- TermCursor = { }, -- cursor in a focused terminal
-- TermCursorNC= { }, -- cursor in an unfocused terminal