mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-03 12:06:55 -04:00
44 lines
785 B
Scheme
44 lines
785 B
Scheme
(_) @spell
|
|
|
|
[
|
|
"("
|
|
")"
|
|
] @punctuation.bracket
|
|
|
|
":" @punctuation.delimiter
|
|
|
|
(tag
|
|
(name) @text.todo
|
|
(user)? @constant)
|
|
|
|
((tag ((name) @text.todo))
|
|
(#eq? @text.todo "TODO"))
|
|
|
|
("text" @text.todo
|
|
(#eq? @text.todo "TODO"))
|
|
|
|
((tag ((name) @text.note))
|
|
(#any-of? @text.note "NOTE" "XXX"))
|
|
|
|
("text" @text.note
|
|
(#any-of? @text.note "NOTE" "XXX"))
|
|
|
|
((tag ((name) @text.warning))
|
|
(#any-of? @text.warning "HACK" "WARNING"))
|
|
|
|
("text" @text.warning
|
|
(#any-of? @text.warning "HACK" "WARNING"))
|
|
|
|
((tag ((name) @text.danger))
|
|
(#any-of? @text.danger "FIXME" "BUG"))
|
|
|
|
("text" @text.danger
|
|
(#any-of? @text.danger "FIXME" "BUG"))
|
|
|
|
; Issue number (#123)
|
|
("text" @number
|
|
(#lua-match? @number "^#[0-9]+$"))
|
|
|
|
; User mention (@user)
|
|
("text" @constant
|
|
(#lua-match? @constant "^[@][a-zA-Z0-9_-]+$"))
|