Skip to content

Commit

Permalink
groups: Add support for treesitter-diff
Browse files Browse the repository at this point in the history
  • Loading branch information
cryptomilk committed Jan 30, 2024
1 parent 5eb85eb commit 981365e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lua/nightcity/groups.lua
Original file line number Diff line number Diff line change
Expand Up @@ -678,6 +678,12 @@ H.get_color_groups = function(config, style)
['@text.diff.delete'] = { link = 'diffRemoved' },
-- @text.diff.changed ; doesn't exist ... yet?
['@text.diff.changed'] = { link = 'diffChanged' },
-- @diff.plus ; added text (for diff files)
['@diff.plus'] = { link = 'diffAdded' },
-- .diff.minus ; deleted text (for diff files)
['@diff.minus'] = { link = 'diffRemoved' },
-- @diff.delta ; changed diff
['@diff.delta'] = { link = 'diffChanged' },

--
-- Tags
Expand Down

0 comments on commit 981365e

Please sign in to comment.