Skip to content

Commit

Permalink
feat: added treesitter hl for diff. Fixes #266
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Nov 11, 2022
1 parent 03243b1 commit ec144d9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lua/tokyonight/theme.lua
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,8 @@ function M.setup()
-- TSTitle = { }; -- Text that is part of a title.
-- TSLiteral = { }; -- Literal text.
-- TSURI = { }; -- Any URI like a link or email.
["@text.diff.add"] = { link = "DiffAdd" },
["@text.diff.delete"] = { link = "DiffDelete" },

-- Lua
-- luaTSProperty = { fg = c.red }, -- Same as `TSField`.
Expand Down

0 comments on commit ec144d9

Please sign in to comment.