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

27 lines
393 B
Text
Raw Normal View History

2022-12-07 23:22:40 +03:00
foo.'baz'.biz
2022-12-08 01:15:09 +03:00
# <- constant
# ^ punctuation.delimiter
# ^ string.special
# ^ punctuation.delimiter
2022-12-07 23:22:40 +03:00
# ^ variable
'biz': 'Baz'
# <- string
# ^ string
2022-12-07 11:58:45 +03:00
foo: Foo Bar
# <- variable
2022-12-07 13:39:16 +03:00
# ^ punctuation.delimiter
2022-12-07 11:58:45 +03:00
# ^ string
foo: Foo Bar {
# <- constant
2022-12-07 13:39:16 +03:00
# ^ string
# ^ punctuation.bracket
2022-12-07 11:58:45 +03:00
bar.baz
2022-12-08 01:15:09 +03:00
# <- constant
2022-12-07 11:58:45 +03:00
# ^ variable
}
2022-12-07 13:39:16 +03:00
# <- punctuation.bracket