Skip to content

Commit

Permalink
fix: use documented highlight groups as fallback
Browse files Browse the repository at this point in the history
  • Loading branch information
seblj authored and lewis6991 committed Jan 23, 2024
1 parent c5ff762 commit 300a306
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions doc/gitsigns.txt
Original file line number Diff line number Diff line change
Expand Up @@ -922,17 +922,17 @@ searching for other defined highlights in order.
GitSignsAdd
Used for the text of 'add' signs.

Fallbacks: `GitGutterAdd`, `SignifySignAdd`, `DiffAddedGutter`, `diffAdded`, `DiffAdd`
Fallbacks: `GitGutterAdd`, `SignifySignAdd`, `DiffAddedGutter`, `Added`, `DiffAdd`
*hl-GitSignsChange*
GitSignsChange
Used for the text of 'change' signs.

Fallbacks: `GitGutterChange`, `SignifySignChange`, `DiffModifiedGutter`, `diffChanged`, `DiffChange`
Fallbacks: `GitGutterChange`, `SignifySignChange`, `DiffModifiedGutter`, `Changed`, `DiffChange`
*hl-GitSignsDelete*
GitSignsDelete
Used for the text of 'delete' signs.

Fallbacks: `GitGutterDelete`, `SignifySignDelete`, `DiffRemovedGutter`, `diffRemoved`, `DiffDelete`
Fallbacks: `GitGutterDelete`, `SignifySignDelete`, `DiffRemovedGutter`, `Removed`, `DiffDelete`
*hl-GitSignsChangedelete*
GitSignsChangedelete
Used for the text of 'changedelete' signs.
Expand Down
6 changes: 3 additions & 3 deletions lua/gitsigns/highlight.lua
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ M.hls = {
'GitGutterAdd',
'SignifySignAdd',
'DiffAddedGutter',
'diffAdded',
'Added',
'DiffAdd',
desc = "Used for the text of 'add' signs.",
},
Expand All @@ -29,7 +29,7 @@ M.hls = {
'GitGutterChange',
'SignifySignChange',
'DiffModifiedGutter',
'diffChanged',
'Changed',
'DiffChange',
desc = "Used for the text of 'change' signs.",
},
Expand All @@ -40,7 +40,7 @@ M.hls = {
'GitGutterDelete',
'SignifySignDelete',
'DiffRemovedGutter',
'diffRemoved',
'Removed',
'DiffDelete',
desc = "Used for the text of 'delete' signs.",
},
Expand Down

0 comments on commit 300a306

Please sign in to comment.