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

29 lines
376 B
Text
Raw Normal View History

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