From ec144d94a8dbd9c8b4f5e50d933d67a37f589ed8 Mon Sep 17 00:00:00 2001 From: Folke Lemaitre Date: Fri, 11 Nov 2022 12:32:13 +0100 Subject: [PATCH] feat: added treesitter hl for diff. Fixes #266 --- lua/tokyonight/theme.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lua/tokyonight/theme.lua b/lua/tokyonight/theme.lua index 5f93957..fecd21d 100644 --- a/lua/tokyonight/theme.lua +++ b/lua/tokyonight/theme.lua @@ -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`.