1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-03 11:50:05 +08:00
SpaceVim/bundle/nvim-treesitter/queries/dot/highlights.scm

56 lines
521 B
Scheme
Raw Normal View History

(identifier) @type
[
"strict"
"graph"
"digraph"
"subgraph"
"node"
"edge"
] @keyword
(string_literal) @string
(number_literal) @number
[
(edgeop)
(operator)
] @operator
[
","
";"
] @punctuation.delimiter
[
"{"
"}"
"["
"]"
"<"
">"
] @punctuation.bracket
(subgraph
id: (id
(identifier) @namespace)
)
(attribute
name: (id
(identifier) @field)
)
(attribute
value: (id
(identifier) @constant)
)
(comment) @comment
(preproc) @preproc
(comment) @spell
(ERROR) @error