Skip to content

Commit

Permalink
feat(gitsigns): Support GitSignsCurrentLineBlame highlights (#567)
Browse files Browse the repository at this point in the history
  • Loading branch information
kang8 authored Aug 20, 2023
1 parent 490078b commit 3fdd394
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lua/catppuccin/groups/integrations/gitsigns.lua
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ function M.get()
GitSignsChange = { fg = C.yellow }, -- diff mode: Changed line |diff.txt|
GitSignsDelete = { fg = C.red }, -- diff mode: Deleted line |diff.txt|

GitSignsCurrentLineBlame = { fg = C.surface1 },

GitSignsAddPreview = O.transparent_background and { fg = U.darken(C.green, 0.72, C.base), bg = C.none }
or { link = "DiffAdd" },
GitSignsDeletePreview = O.transparent_background and { fg = U.darken(C.red, 0.72, C.base), bg = C.none }
Expand Down Expand Up @@ -40,6 +42,8 @@ function M.get()
GitSignsChange = { fg = C.yellow }, -- diff mode: Changed line |diff.txt|
GitSignsDelete = { fg = C.red }, -- diff mode: Deleted line |diff.txt|

GitSignsCurrentLineBlame = { fg = C.surface1 },

GitSignsAddPreview = O.transparent_background and { fg = C.green, bg = C.none } or { link = "DiffAdd" },
GitSignsDeletePreview = O.transparent_background and { fg = C.red, bg = C.none } or { link = "DiffDelete" },
}
Expand Down

0 comments on commit 3fdd394

Please sign in to comment.