tree-sitter-d2/test/highlight/attribute.d2

29 lines
382 B
Text
Raw Normal View History

2022-12-07 13:34:42 +03:00
direction: right;
2022-12-08 01:15:09 +03:00
# <- property
2022-12-07 13:34:42 +03:00
# ^ punctuation.delimiter
# ^ string
# ^ punctuation.delimiter
2022-12-07 23:14:25 +03:00
shape: oval
2022-12-07 18:52:19 +03:00
# <- error
# ^ string
2022-12-07 18:52:19 +03:00
2022-12-07 13:34:42 +03:00
baaaz.style: {
# <- variable
2022-12-08 01:15:09 +03:00
# ^ property
2022-12-07 13:34:42 +03:00
fill: red
2022-12-08 01:15:09 +03:00
# <- property
2022-12-07 13:34:42 +03:00
# ^ string
}
foo: Label {
shape: oval
2022-12-08 01:15:09 +03:00
# <- property
2022-12-07 13:34:42 +03:00
# ^ string
style.fill: red;
2022-12-08 01:15:09 +03:00
# <- property
# ^ property
2022-12-07 13:34:42 +03:00
}