2022-09-26 10:19:02 +01:00
|
|
|
(_) @spell
|
|
|
|
|
|
2021-03-12 11:21:46 -05:00
|
|
|
[
|
|
|
|
|
"("
|
|
|
|
|
")"
|
|
|
|
|
] @punctuation.bracket
|
|
|
|
|
|
|
|
|
|
":" @punctuation.delimiter
|
|
|
|
|
|
2022-10-17 20:09:56 +03:00
|
|
|
(tag
|
|
|
|
|
(name) @text.todo
|
|
|
|
|
(user)? @constant)
|
|
|
|
|
|
|
|
|
|
((tag ((name) @text.todo))
|
|
|
|
|
(#eq? @text.todo "TODO"))
|
|
|
|
|
|
|
|
|
|
("text" @text.todo
|
|
|
|
|
(#eq? @text.todo "TODO"))
|
2021-03-12 11:21:46 -05:00
|
|
|
|
2022-09-23 19:52:00 +02:00
|
|
|
((tag ((name) @text.note))
|
2022-10-17 20:09:56 +03:00
|
|
|
(#any-of? @text.note "NOTE" "XXX"))
|
2022-09-23 19:52:00 +02:00
|
|
|
|
|
|
|
|
("text" @text.note
|
2022-10-17 20:09:56 +03:00
|
|
|
(#any-of? @text.note "NOTE" "XXX"))
|
2022-09-23 19:52:00 +02:00
|
|
|
|
2021-03-12 11:21:46 -05:00
|
|
|
((tag ((name) @text.warning))
|
2022-10-17 20:09:56 +03:00
|
|
|
(#any-of? @text.warning "HACK" "WARNING"))
|
2021-03-12 11:21:46 -05:00
|
|
|
|
2021-04-02 11:58:45 -05:00
|
|
|
("text" @text.warning
|
2022-10-17 20:09:56 +03:00
|
|
|
(#any-of? @text.warning "HACK" "WARNING"))
|
2021-04-02 11:58:45 -05:00
|
|
|
|
2021-03-12 11:21:46 -05:00
|
|
|
((tag ((name) @text.danger))
|
2022-10-17 20:09:56 +03:00
|
|
|
(#any-of? @text.danger "FIXME" "BUG"))
|
2021-03-12 11:21:46 -05:00
|
|
|
|
2021-04-02 11:58:45 -05:00
|
|
|
("text" @text.danger
|
2022-10-17 20:09:56 +03:00
|
|
|
(#any-of? @text.danger "FIXME" "BUG"))
|
2021-04-02 11:58:45 -05:00
|
|
|
|
2021-03-12 11:21:46 -05:00
|
|
|
; Issue number (#123)
|
2022-10-17 20:09:56 +03:00
|
|
|
("text" @number
|
|
|
|
|
(#lua-match? @number "^#[0-9]+$"))
|
|
|
|
|
|
2021-03-12 11:21:46 -05:00
|
|
|
; User mention (@user)
|
2022-10-17 20:09:56 +03:00
|
|
|
("text" @constant
|
|
|
|
|
(#lua-match? @constant "^[@][a-zA-Z0-9_-]+$"))
|