mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-06 13:30:01 -04:00
54 lines
563 B
Scheme
54 lines
563 B
Scheme
; highlights.scm
|
|
|
|
[
|
|
"*"
|
|
"/"
|
|
"%"
|
|
"+"
|
|
"-"
|
|
">"
|
|
">="
|
|
"<"
|
|
"<="
|
|
"="
|
|
"=~"
|
|
"!="
|
|
"!~"
|
|
] @operator
|
|
|
|
[
|
|
"and"
|
|
"unless"
|
|
"or"
|
|
"bool"
|
|
] @keyword.operator
|
|
|
|
[
|
|
"{"
|
|
"}"
|
|
"["
|
|
"]"
|
|
"("
|
|
")"
|
|
] @punctuation.bracket
|
|
|
|
(float_literal) @float
|
|
(string_literal) @string
|
|
|
|
(metric_name) @type
|
|
(range_selection) @text.strong @type
|
|
(subquery_range_selection) @text.strong @type
|
|
|
|
(label_name) @field
|
|
(label_value) @text.underline @string.regex
|
|
|
|
(function_name) @function.call
|
|
|
|
[
|
|
"by"
|
|
"without"
|
|
] @function
|
|
|
|
(comment) @comment @spell
|
|
(ERROR) @error
|
|
|