mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-27 12:10:06 +08:00
26 lines
568 B
Scheme
Vendored
26 lines
568 B
Scheme
Vendored
[
|
|
"("
|
|
")"
|
|
] @punctuation.bracket
|
|
|
|
":" @punctuation.delimiter
|
|
|
|
(tag (name) @text.note (user)? @constant)
|
|
|
|
((tag ((name) @text.warning))
|
|
(#any-of? @text.warning "TODO" "HACK" "WARNING"))
|
|
|
|
("text" @text.warning
|
|
(#any-of? @text.warning "TODO" "HACK" "WARNING"))
|
|
|
|
((tag ((name) @text.danger))
|
|
(#any-of? @text.danger "FIXME" "XXX" "BUG"))
|
|
|
|
("text" @text.danger
|
|
(#any-of? @text.danger "FIXME" "XXX" "BUG"))
|
|
|
|
; Issue number (#123)
|
|
("text" @number (#lua-match? @number "^#[0-9]+$"))
|
|
; User mention (@user)
|
|
("text" @constant (#lua-match? @constant "^[@][a-zA-Z0-9_-]+$"))
|