feat: added treesitter hl for diff. Fixes #266
This commit is contained in:
@@ -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`.
|
||||||
|
|||||||
Reference in New Issue
Block a user