forked from Mirrors/helix
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
519 B
Scheme
31 lines
519 B
Scheme
[
|
|
"("
|
|
")"
|
|
] @punctuation.bracket
|
|
|
|
":" @punctuation.delimiter
|
|
|
|
((tag (name) @warning)
|
|
(#match? @warning "^(TODO|HACK|WARNING)$"))
|
|
|
|
("text" @warning
|
|
(#match? @warning "^(TODO|HACK|WARNING)$"))
|
|
|
|
((tag (name) @error)
|
|
(match? @error "^(FIXME|XXX|BUG)$"))
|
|
|
|
("text" @error
|
|
(match? @error "^(FIXME|XXX|BUG)$"))
|
|
|
|
(tag
|
|
(name) @ui.text
|
|
(user)? @constant)
|
|
|
|
; Issue number (#123)
|
|
("text" @constant.numeric
|
|
(#match? @constant.numeric "^#[0-9]+$"))
|
|
|
|
; User mention (@user)
|
|
("text" @tag
|
|
(#match? @tag "^[@][a-zA-Z0-9_-]+$"))
|