mirror of
https://github.com/Myriad-Dreamin/tinymist.git
synced 2025-12-23 08:47:50 +00:00
* 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
278 lines
No EOL
19 KiB
Text
278 lines
No EOL
19 KiB
Text
>#set text(fill: red);
|
|
#^ source.typst keyword.control.hash.typst
|
|
# ^^^ source.typst meta.expr.set.typst keyword.control.other.typst
|
|
# ^ source.typst meta.expr.set.typst
|
|
# ^^^^ source.typst meta.expr.set.typst meta.expr.call.typst entity.name.function.typst
|
|
# ^ source.typst meta.expr.set.typst meta.expr.call.typst meta.brace.round.typst
|
|
# ^^^^ source.typst meta.expr.set.typst meta.expr.call.typst variable.other.readwrite.typst
|
|
# ^ source.typst meta.expr.set.typst meta.expr.call.typst punctuation.separator.colon.typst
|
|
# ^ source.typst meta.expr.set.typst meta.expr.call.typst
|
|
# ^^^ source.typst meta.expr.set.typst meta.expr.call.typst variable.other.constant.builtin.typst
|
|
# ^ source.typst meta.expr.set.typst meta.expr.call.typst meta.brace.round.typst
|
|
# ^ source.typst punctuation.terminator.statement.typst
|
|
>#set text(fill: red)
|
|
#^ source.typst keyword.control.hash.typst
|
|
# ^^^ source.typst meta.expr.set.typst keyword.control.other.typst
|
|
# ^ source.typst meta.expr.set.typst
|
|
# ^^^^ source.typst meta.expr.set.typst meta.expr.call.typst entity.name.function.typst
|
|
# ^ source.typst meta.expr.set.typst meta.expr.call.typst meta.brace.round.typst
|
|
# ^^^^ source.typst meta.expr.set.typst meta.expr.call.typst variable.other.readwrite.typst
|
|
# ^ source.typst meta.expr.set.typst meta.expr.call.typst punctuation.separator.colon.typst
|
|
# ^ source.typst meta.expr.set.typst meta.expr.call.typst
|
|
# ^^^ source.typst meta.expr.set.typst meta.expr.call.typst variable.other.constant.builtin.typst
|
|
# ^ source.typst meta.expr.set.typst meta.expr.call.typst meta.brace.round.typst
|
|
>#set text("")
|
|
#^ source.typst keyword.control.hash.typst
|
|
# ^^^ source.typst meta.expr.set.typst keyword.control.other.typst
|
|
# ^ source.typst meta.expr.set.typst
|
|
# ^^^^ source.typst meta.expr.set.typst meta.expr.call.typst entity.name.function.typst
|
|
# ^ source.typst meta.expr.set.typst meta.expr.call.typst meta.brace.round.typst
|
|
# ^ source.typst meta.expr.set.typst meta.expr.call.typst string.quoted.double.typst punctuation.definition.string.typst
|
|
# ^ source.typst meta.expr.set.typst meta.expr.call.typst string.quoted.double.typst punctuation.definition.string.typst
|
|
# ^ source.typst meta.expr.set.typst meta.expr.call.typst meta.brace.round.typst
|
|
>#set text(red)
|
|
#^ source.typst keyword.control.hash.typst
|
|
# ^^^ source.typst meta.expr.set.typst keyword.control.other.typst
|
|
# ^ source.typst meta.expr.set.typst
|
|
# ^^^^ source.typst meta.expr.set.typst meta.expr.call.typst entity.name.function.typst
|
|
# ^ source.typst meta.expr.set.typst meta.expr.call.typst meta.brace.round.typst
|
|
# ^^^ source.typst meta.expr.set.typst meta.expr.call.typst variable.other.constant.builtin.typst
|
|
# ^ source.typst meta.expr.set.typst meta.expr.call.typst meta.brace.round.typst
|
|
>#set list.item(red);
|
|
#^ source.typst keyword.control.hash.typst
|
|
# ^^^ source.typst meta.expr.set.typst keyword.control.other.typst
|
|
# ^ source.typst meta.expr.set.typst
|
|
# ^^^^ source.typst meta.expr.set.typst variable.other.readwrite.typst
|
|
# ^ source.typst meta.expr.set.typst meta.expr.call.typst keyword.operator.accessor.typst
|
|
# ^^^^ source.typst meta.expr.set.typst meta.expr.call.typst entity.name.function.typst
|
|
# ^ source.typst meta.expr.set.typst meta.expr.call.typst meta.brace.round.typst
|
|
# ^^^ source.typst meta.expr.set.typst meta.expr.call.typst variable.other.constant.builtin.typst
|
|
# ^ source.typst meta.expr.set.typst meta.expr.call.typst meta.brace.round.typst
|
|
# ^ source.typst punctuation.terminator.statement.typst
|
|
>#set list.item(fill: red);
|
|
#^ source.typst keyword.control.hash.typst
|
|
# ^^^ source.typst meta.expr.set.typst keyword.control.other.typst
|
|
# ^ source.typst meta.expr.set.typst
|
|
# ^^^^ source.typst meta.expr.set.typst variable.other.readwrite.typst
|
|
# ^ source.typst meta.expr.set.typst meta.expr.call.typst keyword.operator.accessor.typst
|
|
# ^^^^ source.typst meta.expr.set.typst meta.expr.call.typst entity.name.function.typst
|
|
# ^ source.typst meta.expr.set.typst meta.expr.call.typst meta.brace.round.typst
|
|
# ^^^^ source.typst meta.expr.set.typst meta.expr.call.typst variable.other.readwrite.typst
|
|
# ^ source.typst meta.expr.set.typst meta.expr.call.typst punctuation.separator.colon.typst
|
|
# ^ source.typst meta.expr.set.typst meta.expr.call.typst
|
|
# ^^^ source.typst meta.expr.set.typst meta.expr.call.typst variable.other.constant.builtin.typst
|
|
# ^ source.typst meta.expr.set.typst meta.expr.call.typst meta.brace.round.typst
|
|
# ^ source.typst punctuation.terminator.statement.typst
|
|
>#set (text(fill: red));
|
|
#^ source.typst keyword.control.hash.typst
|
|
# ^^^ source.typst variable.other.readwrite.typst
|
|
# ^ source.typst
|
|
# ^ source.typst markup.content.brace.typst
|
|
# ^^^^ source.typst
|
|
# ^ source.typst markup.content.brace.typst
|
|
# ^^^^^^^^^ source.typst
|
|
# ^ source.typst markup.content.brace.typst
|
|
# ^ source.typst markup.content.brace.typst
|
|
# ^^ source.typst
|
|
>#set ((text(fill: red)));
|
|
#^ source.typst keyword.control.hash.typst
|
|
# ^^^ source.typst variable.other.readwrite.typst
|
|
# ^ source.typst
|
|
# ^ source.typst markup.content.brace.typst
|
|
# ^ source.typst markup.content.brace.typst
|
|
# ^^^^ source.typst
|
|
# ^ source.typst markup.content.brace.typst
|
|
# ^^^^^^^^^ source.typst
|
|
# ^ source.typst markup.content.brace.typst
|
|
# ^ source.typst markup.content.brace.typst
|
|
# ^ source.typst markup.content.brace.typst
|
|
# ^^ source.typst
|
|
>#set text("") if {}
|
|
#^ source.typst keyword.control.hash.typst
|
|
# ^^^ source.typst meta.expr.set.typst keyword.control.other.typst
|
|
# ^ source.typst meta.expr.set.typst
|
|
# ^^^^ source.typst meta.expr.set.typst meta.expr.call.typst entity.name.function.typst
|
|
# ^ source.typst meta.expr.set.typst meta.expr.call.typst meta.brace.round.typst
|
|
# ^ source.typst meta.expr.set.typst meta.expr.call.typst string.quoted.double.typst punctuation.definition.string.typst
|
|
# ^ source.typst meta.expr.set.typst meta.expr.call.typst string.quoted.double.typst punctuation.definition.string.typst
|
|
# ^ source.typst meta.expr.set.typst meta.expr.call.typst meta.brace.round.typst
|
|
# ^ source.typst meta.expr.set.typst
|
|
# ^^ source.typst meta.expr.set.typst keyword.control.conditional.typst
|
|
# ^ source.typst meta.expr.set.typst
|
|
# ^ source.typst meta.expr.set.typst meta.brace.curly.typst
|
|
# ^ source.typst meta.expr.set.typst meta.brace.curly.typst
|
|
>#set text("") if []
|
|
#^ source.typst keyword.control.hash.typst
|
|
# ^^^ source.typst meta.expr.set.typst keyword.control.other.typst
|
|
# ^ source.typst meta.expr.set.typst
|
|
# ^^^^ source.typst meta.expr.set.typst meta.expr.call.typst entity.name.function.typst
|
|
# ^ source.typst meta.expr.set.typst meta.expr.call.typst meta.brace.round.typst
|
|
# ^ source.typst meta.expr.set.typst meta.expr.call.typst string.quoted.double.typst punctuation.definition.string.typst
|
|
# ^ source.typst meta.expr.set.typst meta.expr.call.typst string.quoted.double.typst punctuation.definition.string.typst
|
|
# ^ source.typst meta.expr.set.typst meta.expr.call.typst meta.brace.round.typst
|
|
# ^ source.typst meta.expr.set.typst
|
|
# ^^ source.typst meta.expr.set.typst keyword.control.conditional.typst
|
|
# ^ source.typst meta.expr.set.typst
|
|
# ^ source.typst meta.expr.set.typst meta.brace.square.typst
|
|
# ^ source.typst meta.expr.set.typst meta.brace.square.typst
|
|
>#set text("") if ()
|
|
#^ source.typst keyword.control.hash.typst
|
|
# ^^^ source.typst meta.expr.set.typst keyword.control.other.typst
|
|
# ^ source.typst meta.expr.set.typst
|
|
# ^^^^ source.typst meta.expr.set.typst meta.expr.call.typst entity.name.function.typst
|
|
# ^ source.typst meta.expr.set.typst meta.expr.call.typst meta.brace.round.typst
|
|
# ^ source.typst meta.expr.set.typst meta.expr.call.typst string.quoted.double.typst punctuation.definition.string.typst
|
|
# ^ source.typst meta.expr.set.typst meta.expr.call.typst string.quoted.double.typst punctuation.definition.string.typst
|
|
# ^ source.typst meta.expr.set.typst meta.expr.call.typst meta.brace.round.typst
|
|
# ^ source.typst meta.expr.set.typst
|
|
# ^^ source.typst meta.expr.set.typst keyword.control.conditional.typst
|
|
# ^ source.typst meta.expr.set.typst
|
|
# ^ source.typst meta.expr.set.typst meta.brace.round.typst
|
|
# ^ source.typst meta.expr.set.typst meta.brace.round.typst
|
|
>#set text("") if {}{}
|
|
#^ source.typst keyword.control.hash.typst
|
|
# ^^^ source.typst meta.expr.set.typst keyword.control.other.typst
|
|
# ^ source.typst meta.expr.set.typst
|
|
# ^^^^ source.typst meta.expr.set.typst meta.expr.call.typst entity.name.function.typst
|
|
# ^ source.typst meta.expr.set.typst meta.expr.call.typst meta.brace.round.typst
|
|
# ^ source.typst meta.expr.set.typst meta.expr.call.typst string.quoted.double.typst punctuation.definition.string.typst
|
|
# ^ source.typst meta.expr.set.typst meta.expr.call.typst string.quoted.double.typst punctuation.definition.string.typst
|
|
# ^ source.typst meta.expr.set.typst meta.expr.call.typst meta.brace.round.typst
|
|
# ^ source.typst meta.expr.set.typst
|
|
# ^^ source.typst meta.expr.set.typst keyword.control.conditional.typst
|
|
# ^ source.typst meta.expr.set.typst
|
|
# ^ source.typst meta.expr.set.typst meta.brace.curly.typst
|
|
# ^ source.typst meta.expr.set.typst meta.brace.curly.typst
|
|
# ^ source.typst markup.content.brace.typst
|
|
# ^ source.typst markup.content.brace.typst
|
|
>#set text("") if [][]
|
|
#^ source.typst keyword.control.hash.typst
|
|
# ^^^ source.typst meta.expr.set.typst keyword.control.other.typst
|
|
# ^ source.typst meta.expr.set.typst
|
|
# ^^^^ source.typst meta.expr.set.typst meta.expr.call.typst entity.name.function.typst
|
|
# ^ source.typst meta.expr.set.typst meta.expr.call.typst meta.brace.round.typst
|
|
# ^ source.typst meta.expr.set.typst meta.expr.call.typst string.quoted.double.typst punctuation.definition.string.typst
|
|
# ^ source.typst meta.expr.set.typst meta.expr.call.typst string.quoted.double.typst punctuation.definition.string.typst
|
|
# ^ source.typst meta.expr.set.typst meta.expr.call.typst meta.brace.round.typst
|
|
# ^ source.typst meta.expr.set.typst
|
|
# ^^ source.typst meta.expr.set.typst keyword.control.conditional.typst
|
|
# ^ source.typst meta.expr.set.typst
|
|
# ^ source.typst meta.expr.set.typst meta.brace.square.typst
|
|
# ^ source.typst meta.expr.set.typst meta.brace.square.typst
|
|
# ^ source.typst meta.brace.square.typst
|
|
# ^ source.typst meta.brace.square.typst
|
|
>#set text("") if ()()
|
|
#^ source.typst keyword.control.hash.typst
|
|
# ^^^ source.typst meta.expr.set.typst keyword.control.other.typst
|
|
# ^ source.typst meta.expr.set.typst
|
|
# ^^^^ source.typst meta.expr.set.typst meta.expr.call.typst entity.name.function.typst
|
|
# ^ source.typst meta.expr.set.typst meta.expr.call.typst meta.brace.round.typst
|
|
# ^ source.typst meta.expr.set.typst meta.expr.call.typst string.quoted.double.typst punctuation.definition.string.typst
|
|
# ^ source.typst meta.expr.set.typst meta.expr.call.typst string.quoted.double.typst punctuation.definition.string.typst
|
|
# ^ source.typst meta.expr.set.typst meta.expr.call.typst meta.brace.round.typst
|
|
# ^ source.typst meta.expr.set.typst
|
|
# ^^ source.typst meta.expr.set.typst keyword.control.conditional.typst
|
|
# ^ source.typst meta.expr.set.typst
|
|
# ^ source.typst meta.expr.set.typst meta.brace.round.typst
|
|
# ^ source.typst meta.expr.set.typst meta.brace.round.typst
|
|
# ^ source.typst meta.brace.round.typst
|
|
# ^ source.typst meta.brace.round.typst
|
|
>#set text("") if {} {}
|
|
#^ source.typst keyword.control.hash.typst
|
|
# ^^^ source.typst meta.expr.set.typst keyword.control.other.typst
|
|
# ^ source.typst meta.expr.set.typst
|
|
# ^^^^ source.typst meta.expr.set.typst meta.expr.call.typst entity.name.function.typst
|
|
# ^ source.typst meta.expr.set.typst meta.expr.call.typst meta.brace.round.typst
|
|
# ^ source.typst meta.expr.set.typst meta.expr.call.typst string.quoted.double.typst punctuation.definition.string.typst
|
|
# ^ source.typst meta.expr.set.typst meta.expr.call.typst string.quoted.double.typst punctuation.definition.string.typst
|
|
# ^ source.typst meta.expr.set.typst meta.expr.call.typst meta.brace.round.typst
|
|
# ^ source.typst meta.expr.set.typst
|
|
# ^^ source.typst meta.expr.set.typst keyword.control.conditional.typst
|
|
# ^ source.typst meta.expr.set.typst
|
|
# ^ source.typst meta.expr.set.typst meta.brace.curly.typst
|
|
# ^ source.typst meta.expr.set.typst meta.brace.curly.typst
|
|
# ^ source.typst
|
|
# ^ source.typst markup.content.brace.typst
|
|
# ^ source.typst markup.content.brace.typst
|
|
>#set text("") if [] []
|
|
#^ source.typst keyword.control.hash.typst
|
|
# ^^^ source.typst meta.expr.set.typst keyword.control.other.typst
|
|
# ^ source.typst meta.expr.set.typst
|
|
# ^^^^ source.typst meta.expr.set.typst meta.expr.call.typst entity.name.function.typst
|
|
# ^ source.typst meta.expr.set.typst meta.expr.call.typst meta.brace.round.typst
|
|
# ^ source.typst meta.expr.set.typst meta.expr.call.typst string.quoted.double.typst punctuation.definition.string.typst
|
|
# ^ source.typst meta.expr.set.typst meta.expr.call.typst string.quoted.double.typst punctuation.definition.string.typst
|
|
# ^ source.typst meta.expr.set.typst meta.expr.call.typst meta.brace.round.typst
|
|
# ^ source.typst meta.expr.set.typst
|
|
# ^^ source.typst meta.expr.set.typst keyword.control.conditional.typst
|
|
# ^ source.typst meta.expr.set.typst
|
|
# ^ source.typst meta.expr.set.typst meta.brace.square.typst
|
|
# ^ source.typst meta.expr.set.typst meta.brace.square.typst
|
|
# ^ source.typst
|
|
# ^ source.typst markup.content.brace.typst
|
|
# ^ source.typst markup.content.brace.typst
|
|
>#set text("") if () ()
|
|
#^ source.typst keyword.control.hash.typst
|
|
# ^^^ source.typst meta.expr.set.typst keyword.control.other.typst
|
|
# ^ source.typst meta.expr.set.typst
|
|
# ^^^^ source.typst meta.expr.set.typst meta.expr.call.typst entity.name.function.typst
|
|
# ^ source.typst meta.expr.set.typst meta.expr.call.typst meta.brace.round.typst
|
|
# ^ source.typst meta.expr.set.typst meta.expr.call.typst string.quoted.double.typst punctuation.definition.string.typst
|
|
# ^ source.typst meta.expr.set.typst meta.expr.call.typst string.quoted.double.typst punctuation.definition.string.typst
|
|
# ^ source.typst meta.expr.set.typst meta.expr.call.typst meta.brace.round.typst
|
|
# ^ source.typst meta.expr.set.typst
|
|
# ^^ source.typst meta.expr.set.typst keyword.control.conditional.typst
|
|
# ^ source.typst meta.expr.set.typst
|
|
# ^ source.typst meta.expr.set.typst meta.brace.round.typst
|
|
# ^ source.typst meta.expr.set.typst meta.brace.round.typst
|
|
# ^ source.typst
|
|
# ^ source.typst markup.content.brace.typst
|
|
# ^ source.typst markup.content.brace.typst
|
|
>#set text("") if {};
|
|
#^ source.typst keyword.control.hash.typst
|
|
# ^^^ source.typst meta.expr.set.typst keyword.control.other.typst
|
|
# ^ source.typst meta.expr.set.typst
|
|
# ^^^^ source.typst meta.expr.set.typst meta.expr.call.typst entity.name.function.typst
|
|
# ^ source.typst meta.expr.set.typst meta.expr.call.typst meta.brace.round.typst
|
|
# ^ source.typst meta.expr.set.typst meta.expr.call.typst string.quoted.double.typst punctuation.definition.string.typst
|
|
# ^ source.typst meta.expr.set.typst meta.expr.call.typst string.quoted.double.typst punctuation.definition.string.typst
|
|
# ^ source.typst meta.expr.set.typst meta.expr.call.typst meta.brace.round.typst
|
|
# ^ source.typst meta.expr.set.typst
|
|
# ^^ source.typst meta.expr.set.typst keyword.control.conditional.typst
|
|
# ^ source.typst meta.expr.set.typst
|
|
# ^ source.typst meta.expr.set.typst meta.brace.curly.typst
|
|
# ^ source.typst meta.expr.set.typst meta.brace.curly.typst
|
|
# ^ source.typst punctuation.terminator.statement.typst
|
|
>#set text("") if [];
|
|
#^ source.typst keyword.control.hash.typst
|
|
# ^^^ source.typst meta.expr.set.typst keyword.control.other.typst
|
|
# ^ source.typst meta.expr.set.typst
|
|
# ^^^^ source.typst meta.expr.set.typst meta.expr.call.typst entity.name.function.typst
|
|
# ^ source.typst meta.expr.set.typst meta.expr.call.typst meta.brace.round.typst
|
|
# ^ source.typst meta.expr.set.typst meta.expr.call.typst string.quoted.double.typst punctuation.definition.string.typst
|
|
# ^ source.typst meta.expr.set.typst meta.expr.call.typst string.quoted.double.typst punctuation.definition.string.typst
|
|
# ^ source.typst meta.expr.set.typst meta.expr.call.typst meta.brace.round.typst
|
|
# ^ source.typst meta.expr.set.typst
|
|
# ^^ source.typst meta.expr.set.typst keyword.control.conditional.typst
|
|
# ^ source.typst meta.expr.set.typst
|
|
# ^ source.typst meta.expr.set.typst meta.brace.square.typst
|
|
# ^ source.typst meta.expr.set.typst meta.brace.square.typst
|
|
# ^ source.typst punctuation.terminator.statement.typst
|
|
>#set text("") if (); ()
|
|
#^ source.typst keyword.control.hash.typst
|
|
# ^^^ source.typst meta.expr.set.typst keyword.control.other.typst
|
|
# ^ source.typst meta.expr.set.typst
|
|
# ^^^^ source.typst meta.expr.set.typst meta.expr.call.typst entity.name.function.typst
|
|
# ^ source.typst meta.expr.set.typst meta.expr.call.typst meta.brace.round.typst
|
|
# ^ source.typst meta.expr.set.typst meta.expr.call.typst string.quoted.double.typst punctuation.definition.string.typst
|
|
# ^ source.typst meta.expr.set.typst meta.expr.call.typst string.quoted.double.typst punctuation.definition.string.typst
|
|
# ^ source.typst meta.expr.set.typst meta.expr.call.typst meta.brace.round.typst
|
|
# ^ source.typst meta.expr.set.typst
|
|
# ^^ source.typst meta.expr.set.typst keyword.control.conditional.typst
|
|
# ^ source.typst meta.expr.set.typst
|
|
# ^ source.typst meta.expr.set.typst meta.brace.round.typst
|
|
# ^ source.typst meta.expr.set.typst meta.brace.round.typst
|
|
# ^ source.typst punctuation.terminator.statement.typst
|
|
# ^ source.typst
|
|
# ^ source.typst markup.content.brace.typst
|
|
# ^ source.typst markup.content.brace.typst |