From 83717d0448ca8c272803bfc3abdad7b2eeaff769 Mon Sep 17 00:00:00 2001 From: mrtnvgr Date: Sat, 20 Jan 2024 23:06:25 +0700 Subject: [PATCH] fix: typos in legacy highlights --- lua/catppuccin/groups/integrations/treesitter.lua | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lua/catppuccin/groups/integrations/treesitter.lua b/lua/catppuccin/groups/integrations/treesitter.lua index bb70ea07..0b315a6d 100644 --- a/lua/catppuccin/groups/integrations/treesitter.lua +++ b/lua/catppuccin/groups/integrations/treesitter.lua @@ -213,11 +213,13 @@ If you want to stay on nvim 0.7, either disable the integration or pin catppucci colors["@text.todo.checked"] = colors["@markup.list.checked"] colors["@text.todo.unchecked"] = colors["@markup.list.unchecked"] + colors["@comment.note"] = colors["@comment.hint"] + -- @text.todo is now for todo comments, not todo notes like in markdown - colors["@text.todo"] = colors["comment.todo"] - colors["@text.warning"] = colors["comment.warning"] - colors["@text.note"] = colors["comment.note"] - colors["@text.danger"] = colors["comment.error"] + colors["@text.todo"] = colors["@comment.todo"] + colors["@text.warning"] = colors["@comment.warning"] + colors["@text.note"] = colors["@comment.note"] + colors["@text.danger"] = colors["@comment.error"] -- @text.uri is now -- @markup.link.url in markup links @@ -252,8 +254,6 @@ If you want to stay on nvim 0.7, either disable the integration or pin catppucci colors["@method.php"] = colors["@function.method.php"] colors["@method.call.php"] = colors["@function.method.call.php"] - colors["@comment.note"] = colors["@comment.hint"] - return colors end