feat: added treesitter hl for diff. Fixes #266

This commit is contained in:
Folke Lemaitre 2022-11-11 12:32:13 +01:00
parent 03243b13b5
commit ec144d94a8
No known key found for this signature in database
GPG Key ID: 41F8B1FBACAE2040

View File

@ -259,6 +259,8 @@ function M.setup()
-- TSTitle = { }; -- Text that is part of a title. -- TSTitle = { }; -- Text that is part of a title.
-- TSLiteral = { }; -- Literal text. -- TSLiteral = { }; -- Literal text.
-- TSURI = { }; -- Any URI like a link or email. -- TSURI = { }; -- Any URI like a link or email.
["@text.diff.add"] = { link = "DiffAdd" },
["@text.diff.delete"] = { link = "DiffDelete" },
-- Lua -- Lua
-- luaTSProperty = { fg = c.red }, -- Same as `TSField`. -- luaTSProperty = { fg = c.red }, -- Same as `TSField`.