1
0
mirror of https://github.com/helix-editor/helix synced 2024-11-10 10:34:45 +01:00
helix/runtime/queries/dot/highlights.scm
2024-05-20 19:32:54 +09:00

44 lines
454 B
Scheme

(identifier) @variable
(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) @comment
(preproc) @keyword.directive
(ERROR) @error