nvim-treesitter/queries/dot/highlights.scm
rydesun f900e5dfc8
Add tree-sitter-dot (#1770)
* Add tree-sitter-dot

* Fix DOT highlights

* highlights(DOT): add HTML string

* Remove DOT ftdetect

Vim and Neovim runtime have added DOT filetype detection

* Update DOT highlights
2021-09-01 09:25:45 -05:00

45 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