From 0c21ef11b8bbe2c6ec68a69553bee75a75e1587b Mon Sep 17 00:00:00 2001 From: Eatgrass Date: Thu, 9 Feb 2023 14:46:55 +0800 Subject: [PATCH] fix: treesitter todo keyword highlight (#310) Co-authored-by: Huang Jing --- lua/tokyonight/treesitter.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/tokyonight/treesitter.lua b/lua/tokyonight/treesitter.lua index d2548d3..9c28846 100644 --- a/lua/tokyonight/treesitter.lua +++ b/lua/tokyonight/treesitter.lua @@ -88,7 +88,7 @@ M.fallbacks = { ["text.note"] = "TSNote", ["text.warning"] = "TSWarning", ["text.danger"] = "TSDanger", - ["todo"] = "TSTodo", + ["text.todo"] = "TSTodo", ["type"] = "TSType", ["type.builtin"] = "TSTypeBuiltin", ["type.qualifier"] = "TSTypeQualifier", @@ -351,7 +351,7 @@ M.defaults = { default = true, link = "Todo", }, - ["@todo"] = { + ["@text.todo"] = { default = true, link = "Todo", },