tree-sitter-d2/test/highlight/shape.d2
Dmitriy Pleshevskiy be8db7ca48 Add structure for container and shapes (#1)
![image](/attachments/5bf879cc-b94c-414e-b69b-92cbc018671e)

Co-authored-by: Dmitriy Pleshevskiy <dmitriy@ideascup.me>
Reviewed-on: #1
2022-12-09 12:36:31 +03:00

26 lines
393 B
Text

foo.'baz'.biz
# <- constant
# ^ punctuation.delimiter
# ^ string.special
# ^ punctuation.delimiter
# ^ variable
'biz': 'Baz'
# <- string
# ^ string
foo: Foo Bar
# <- variable
# ^ punctuation.delimiter
# ^ string
foo: Foo Bar {
# <- constant
# ^ string
# ^ punctuation.bracket
bar.baz
# <- constant
# ^ variable
}
# <- punctuation.bracket