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

44 lines
441 B
Scheme
Raw Permalink Normal View History

(keyword) @keyword
(string_literal) @string
(number_literal) @constant.numeric
[
(edgeop)
(operator)
] @operator
[
","
";"
] @punctuation.delimiter
[
"{"
"}"
"["
"]"
"<"
">"
] @punctuation.bracket
(subgraph
id: (id
(identifier) @namespace)
)
(attribute
name: (id
(identifier) @type)
value: (id
(identifier) @constant)
)
[
(comment)
(preproc)
] @comment
(ERROR) @error
(identifier) @variable