tinymist/syntaxes/textmate/tests/unit/basic/string.typ.snap
Myriad-Dreamin 90ef2e6f72
dev: improve punctuation and keyword token kinds (#133)
* dev: improve punctuation and keyword token kinds

* dev: improve punctuation and keyword token kinds
2024-03-30 20:04:34 +08:00

61 lines
No EOL
3.1 KiB
Text

>#"abc" + 1
#^ source.typst string.hash.hash.typst
# ^ source.typst string.quoted.double.typst punctuation.definition.string.typst
# ^^^ source.typst string.quoted.double.typst
# ^ source.typst string.quoted.double.typst punctuation.definition.string.typst
# ^^^^^ source.typst
>#"@myriaddreamin" + 1
#^ source.typst string.hash.hash.typst
# ^ source.typst string.quoted.double.typst punctuation.definition.string.typst
# ^^^^^^^^^^^^^^ source.typst string.quoted.double.typst
# ^ source.typst string.quoted.double.typst punctuation.definition.string.typst
# ^^^^^ source.typst
>#"[a]" + 1
#^ source.typst string.hash.hash.typst
# ^ source.typst string.quoted.double.typst punctuation.definition.string.typst
# ^^^ source.typst string.quoted.double.typst
# ^ source.typst string.quoted.double.typst punctuation.definition.string.typst
# ^^^^^ source.typst
>#"{a}" + 1
#^ source.typst string.hash.hash.typst
# ^ source.typst string.quoted.double.typst punctuation.definition.string.typst
# ^^^ source.typst string.quoted.double.typst
# ^ source.typst string.quoted.double.typst punctuation.definition.string.typst
# ^^^^^ source.typst
>#"\\a" + 1
#^ source.typst string.hash.hash.typst
# ^ source.typst string.quoted.double.typst punctuation.definition.string.typst
# ^^ source.typst string.quoted.double.typst constant.character.escape.string.typst
# ^ source.typst string.quoted.double.typst
# ^ source.typst string.quoted.double.typst punctuation.definition.string.typst
# ^^^^^ source.typst
>#"\\" + 1
#^ source.typst string.hash.hash.typst
# ^ source.typst string.quoted.double.typst punctuation.definition.string.typst
# ^^ source.typst string.quoted.double.typst constant.character.escape.string.typst
# ^ source.typst string.quoted.double.typst punctuation.definition.string.typst
# ^^^^^ source.typst
>#"\\\a" + 1
#^ source.typst string.hash.hash.typst
# ^ source.typst string.quoted.double.typst punctuation.definition.string.typst
# ^^ source.typst string.quoted.double.typst constant.character.escape.string.typst
# ^^ source.typst string.quoted.double.typst constant.character.escape.string.typst
# ^ source.typst string.quoted.double.typst punctuation.definition.string.typst
# ^^^^^ source.typst
>#"\v" + 1
#^ source.typst string.hash.hash.typst
# ^ source.typst string.quoted.double.typst punctuation.definition.string.typst
# ^^ source.typst string.quoted.double.typst constant.character.escape.string.typst
# ^ source.typst string.quoted.double.typst punctuation.definition.string.typst
# ^^^^^ source.typst
>#"\我" + 1
#^ source.typst string.hash.hash.typst
# ^ source.typst string.quoted.double.typst punctuation.definition.string.typst
# ^^ source.typst string.quoted.double.typst constant.character.escape.string.typst
# ^ source.typst string.quoted.double.typst punctuation.definition.string.typst
# ^^^^^ source.typst
>#"//"
#^ source.typst string.hash.hash.typst
# ^ source.typst string.quoted.double.typst punctuation.definition.string.typst
# ^^ source.typst string.quoted.double.typst
# ^ source.typst string.quoted.double.typst punctuation.definition.string.typst