Skip to content

Commit

Permalink
fix(diff): make changed diff text more readable
Browse files Browse the repository at this point in the history
  • Loading branch information
sho-87 committed Oct 14, 2024
1 parent 40da69c commit a3a6320
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lua/kanagawa-paper/highlights/editor.lua
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ function M.setup(colors, opts)
-- DiffDelete Diff mode: Deleted line. |diff.txt|
DiffDelete = { fg = theme.vcs.removed, bg = theme.diff.deleteDark },
-- DiffText Diff mode: Changed text within a changed line. |diff.txt|
DiffText = { bg = theme.diff.textDark, fg = theme.ui.fg, bold = true },
DiffText = { bg = theme.diff.changeDark, fg = theme.diff.change, bold = true },
-- EndOfBuffer Filler lines (~) after the end of the buffer. By default, this is highlighted like |hl-NonText|.
EndOfBuffer = { fg = theme.ui.bg },
-- TermCursor Cursor in a focused terminal.
Expand Down
2 changes: 1 addition & 1 deletion lua/kanagawa-paper/themes.lua
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ return function(palette)
addDark = palette.winterGreen,
delete = palette.autumnRed,
deleteDark = palette.winterRed,
change = palette.autumnYellow,
change = palette.dragonYellow,
changeDark = palette.winterYellow,
text = palette.dragonBlue,
textDark = palette.winterBlue,
Expand Down

0 comments on commit a3a6320

Please sign in to comment.