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

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