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

27 lines
409 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
2022-12-09 19:05:04 +03:00
# ^ string
2022-12-08 01:15:09 +03:00
# ^ punctuation.delimiter
2022-12-07 23:22:40 +03:00
# ^ variable
'biz': 'Baz'
# <- string
2022-12-09 19:05:04 +03:00
# ^ string.special
2022-12-07 11:58:45 +03:00
foo: Foo Bar
# <- variable
2022-12-07 13:39:16 +03:00
# ^ punctuation.delimiter
2022-12-09 19:05:04 +03:00
# ^ string.special
2022-12-07 11:58:45 +03:00
foo: Foo Bar {
# <- constant
2022-12-09 19:05:04 +03:00
# ^ string.special
2022-12-07 13:39:16 +03:00
# ^ 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