From e972c96c7e7c4245e547791d34c74df797db915e Mon Sep 17 00:00:00 2001 From: Antoine Cotten Date: Sat, 25 May 2024 08:19:57 +0200 Subject: [PATCH] fix(treesitter): set highlight of TSModuleInfo signs (#32) --- lua/mellifluous/highlights/plugins/treesitter.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lua/mellifluous/highlights/plugins/treesitter.lua b/lua/mellifluous/highlights/plugins/treesitter.lua index e097995..6b5d9a0 100644 --- a/lua/mellifluous/highlights/plugins/treesitter.lua +++ b/lua/mellifluous/highlights/plugins/treesitter.lua @@ -196,6 +196,10 @@ function M.set(hl, colors) hl.set("@include", { link = "@keyword.import" }) hl.set("@repeat", { link = "@keyword.repeat" }) hl.set("@debug", { link = "@keyword.debug" }) + + -- :TSModuleInfo + hl.set('TSModuleInfoGood', { fg = colors.ui_green, bold = true }) + hl.set('TSModuleInfoBad', { fg = colors.ui_red, bold = true }) end return M