tinymist/syntaxes/textmate/tests/unit/basic/array.typ.snap
Myriad-Dreamin 03ac73bd52
feat: change some names of textmate scopes (#1119)
* feat: change some special kind of string tokens

* feat: change some special kind of constant tokens

* feat: change some special kind of keyword tokens

* test: update snapshot
2025-01-07 14:00:21 +08:00

43 lines
No EOL
3 KiB
Text

>#(0)
#^ source.typst keyword.control.hash.typst
# ^ source.typst meta.brace.round.typst
# ^ source.typst constant.numeric.integer.typst
# ^ source.typst meta.brace.round.typst
>#let f(name) = (
#^ 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 entity.name.function.typst
# ^ source.typst meta.expr.let.typst meta.brace.round.typst
# ^^^^ source.typst meta.expr.let.typst variable.other.readwrite.typst
# ^ source.typst meta.expr.let.typst meta.brace.round.typst
# ^ source.typst meta.expr.let.typst
# ^^ source.typst meta.expr.let.typst keyword.operator.assignment.typst
# ^ source.typst meta.expr.let.typst meta.brace.round.typst
> (
#^^ source.typst meta.expr.let.typst
# ^ source.typst meta.expr.let.typst meta.brace.round.typst
> pad(align(center + horizon, name)),
#^^^^ source.typst meta.expr.let.typst
# ^^^ source.typst meta.expr.let.typst meta.expr.call.typst entity.name.function.typst
# ^ source.typst meta.expr.let.typst meta.expr.call.typst meta.brace.round.typst
# ^^^^^ source.typst meta.expr.let.typst meta.expr.call.typst meta.expr.call.typst entity.name.function.typst
# ^ source.typst meta.expr.let.typst meta.expr.call.typst meta.expr.call.typst meta.brace.round.typst
# ^^^^^^ source.typst meta.expr.let.typst meta.expr.call.typst meta.expr.call.typst variable.other.constant.builtin.typst
# ^ source.typst meta.expr.let.typst meta.expr.call.typst meta.expr.call.typst
# ^ source.typst meta.expr.let.typst meta.expr.call.typst meta.expr.call.typst keyword.operator.arithmetic.typst
# ^ source.typst meta.expr.let.typst meta.expr.call.typst meta.expr.call.typst
# ^^^^^^^ source.typst meta.expr.let.typst meta.expr.call.typst meta.expr.call.typst variable.other.constant.builtin.typst
# ^ source.typst meta.expr.let.typst meta.expr.call.typst meta.expr.call.typst punctuation.separator.comma.typst
# ^ source.typst meta.expr.let.typst meta.expr.call.typst meta.expr.call.typst
# ^^^^ source.typst meta.expr.let.typst meta.expr.call.typst meta.expr.call.typst variable.other.readwrite.typst
# ^ source.typst meta.expr.let.typst meta.expr.call.typst meta.expr.call.typst meta.brace.round.typst
# ^ source.typst meta.expr.let.typst meta.expr.call.typst meta.brace.round.typst
# ^ source.typst meta.expr.let.typst punctuation.separator.comma.typst
# ^^ source.typst meta.expr.let.typst
> ),
#^^ source.typst meta.expr.let.typst
# ^ source.typst meta.expr.let.typst meta.brace.round.typst
# ^ source.typst meta.expr.let.typst punctuation.separator.comma.typst
>)
#^ source.typst meta.expr.let.typst meta.brace.round.typst