@@ -17,30 +17,15 @@ return {
17
17
PERF = { icon = " " , alt = { " OPTIM" , " PERFORMANCE" , " OPTIMIZE" } },
18
18
-- NOTE: This note
19
19
NOTE = { icon = " " , color = " hint" , alt = { " INFO" , " HINT" } },
20
- -- TEST: This note
20
+ -- TEST(hello) : This note
21
21
TEST = { icon = " ⏲ " , color = " test" , alt = { " TESTING" , " PASSED" , " FAILED" } },
22
22
},
23
- merge_keywords = true , -- when true, custom keywords will be merged with the defaults
24
23
-- list of highlight groups or use the hex color if hl not found as a fallback
25
- colors = {
26
- error = { " DiagnosticError" , " ErrorMsg" , " #DC2626" },
27
- warning = { " DiagnosticWarn" , " WarningMsg" , " #FBBF24" },
28
- info = { " DiagnosticInfo" , " #2563EB" },
29
- hint = { " DiagnosticHint" , " #10B981" },
30
- default = { " Identifier" , " #7C3AED" },
31
- test = { " Identifier" , " #FF00FF" },
32
- },
33
24
highlight = {
34
- multiline = true , -- enable multine todo comments
35
- multiline_pattern = " ^." , -- lua pattern to match the next multiline from the start of the matched keyword
36
- multiline_context = 10 , -- extra lines that will be re-evaluated when changing a line
37
- before = " " , -- "fg" or "bg" or empty
38
- keyword = " wide" , -- "fg", "bg", "wide", "wide_bg", "wide_fg" or empty.
39
- after = " fg" , -- "fg" or "bg" or empty
40
- pattern = [[ .*<(KEYWORDS)\s*:]] , -- pattern or table of patterns, used for highlighting (vim regex)
41
- comments_only = true , -- uses treesitter to match keywords in comments only
42
- max_line_len = 400 , -- ignore lines longer than this
43
- exclude = {}, -- list of file types to exclude highlighting
25
+ after = " " ,
26
+ keyword = " bg" ,
27
+ multiline = false ,
28
+ pattern = [[ .*<((KEYWORDS)\s*(.*)?\s*:)]] ,
44
29
},
45
30
},
46
31
keys = {
0 commit comments