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

20 lines
281 B
Text

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