1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-24 09:30:04 +08:00
SpaceVim/bundle/nvim-treesitter/queries/dot/highlights.scm
2022-04-14 12:01:23 +08:00

46 lines
437 B
Scheme

(identifier) @type
(keyword) @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)
(preproc)
] @comment
(ERROR) @error