tree-sitter-d2/test/highlight/attribute.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

28 lines
382 B
Text

direction: right;
# <- property
# ^ punctuation.delimiter
# ^ string
# ^ punctuation.delimiter
shape: oval
# <- error
# ^ string
baaaz.style: {
# <- variable
# ^ property
fill: red
# <- property
# ^ string
}
foo: Label {
shape: oval
# <- property
# ^ string
style.fill: red;
# <- property
# ^ property
}