tree-sitter-d2/queries/highlights.scm

30 lines
547 B
Scheme
Raw Normal View History

2022-12-07 11:58:45 +03:00
;-------------------------------------------------------------------------------
(identifier) @variable
(attr_key) @keyword
;-------------------------------------------------------------------------------
(string) @string
(label) @string
(attr_value) @string
;-------------------------------------------------------------------------------
(arrow) @operator
[
(dot)
":"
";"
] @punctuation.delimiter
[
"{"
"}"
] @punctuation.bracket
;-------------------------------------------------------------------------------
(ERROR) @error