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
This commit is contained in:
rydesun 2021-09-01 22:25:45 +08:00 committed by GitHub
parent 34de06d4e8
commit f900e5dfc8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 56 additions and 0 deletions

View file

@ -0,0 +1,45 @@
(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

View file

@ -0,0 +1 @@
(html_internal) @html