tinymist/syntaxes/textmate/tests/unit/bugs/tinymist-issue334.typ.snap
Myriad-Dreamin 00ec24e18f
dev: terminate expression before math blocks (#347)
* docs: minor updates

* dev: terminate expression before math blocks
2024-06-26 18:14:04 +08:00

21 lines
No EOL
1.3 KiB
Text

>#let xxx = n => $#n$
#^ source.typst keyword.control.hash.typst
# ^^^ source.typst meta.expr.let.typst storage.type.typst
# ^ source.typst meta.expr.let.typst
# ^^^ source.typst meta.expr.let.typst variable.other.readwrite.typst
# ^ source.typst meta.expr.let.typst
# ^^ source.typst meta.expr.let.typst keyword.operator.assignment.typst
# ^ source.typst meta.expr.let.typst variable.parameter.typst
# ^ source.typst meta.expr.let.typst
# ^^ source.typst meta.expr.let.typst storage.type.function.arrow.typst
# ^ source.typst meta.expr.let.typst
# ^ source.typst meta.expr.let.typst markup.math.typst punctuation.definition.string.math.typst
# ^ source.typst meta.expr.let.typst markup.math.typst variable.other.readwrite.hash.typst
# ^ source.typst meta.expr.let.typst markup.math.typst variable.other.readwrite.typst
# ^ source.typst meta.expr.let.typst markup.math.typst punctuation.definition.string.math.typst
>#xxx(1)
#^ source.typst entity.name.function.hash.typst
# ^^^ source.typst meta.expr.call.typst entity.name.function.typst
# ^ source.typst meta.expr.call.typst meta.brace.round.typst
# ^ source.typst meta.expr.call.typst constant.numeric.integer.typst
# ^ source.typst meta.expr.call.typst meta.brace.round.typst