helix-mods/runtime/queries/pest/highlights.scm

50 lines
410 B
Scheme
Raw Normal View History

(line_comment) @comment
(block_comment) @comment
[
"("
")"
"["
"]"
"{"
"}"
] @punctuation.bracket
((identifier) @variable)
((builtin) @type.builtin)
((const) @constant)
[
(string)
(character)
] @string
[
"_"
"@"
"$"
]@keyword.storage.modifier
[
"~"
"|"
"="
"+"
"*"
"&"
"^"
"!"
"?"
".."
] @operator
[
"PUSH"
"PEEK"
"POP"
"SOI"
"EOI"
"ANY"
] @keyword