From d8e126250bd99d7f632c2586ff115bdafbbfe5e2 Mon Sep 17 00:00:00 2001 From: Charles Chiu Date: Wed, 10 Apr 2024 13:44:19 +0800 Subject: [PATCH] fix(todo-comment): add missing keywords (#1225) Signed-off-by: Charles Chiu --- lua/modules/configs/ui/todo.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lua/modules/configs/ui/todo.lua b/lua/modules/configs/ui/todo.lua index 1fbd248e2..bbd8af4b8 100644 --- a/lua/modules/configs/ui/todo.lua +++ b/lua/modules/configs/ui/todo.lua @@ -17,6 +17,7 @@ return function() WARN = { icon = icons.diagnostics.Warning, color = "warning", alt = { "WARNING", "XXX" } }, PERF = { icon = icons.ui.Perf, alt = { "OPTIM", "PERFORMANCE", "OPTIMIZE" } }, NOTE = { icon = icons.ui.Note, color = "hint", alt = { "INFO" } }, + TEST = { icon = icons.ui.Lock, color = "test", alt = { "TESTING", "PASSED", "FAILED" } }, }, gui_style = { fg = "NONE", @@ -29,7 +30,7 @@ return function() after = "", comments_only = true, max_line_len = 500, - exclude = { "big_file_disabled_ft" }, + exclude = { "big_file_disabled_ft", "checkhealth" }, }, colors = { error = { "DiagnosticError", "ErrorMsg", "#DC2626" },