tinymist/syntaxes/textmate/tests/unit/basic/include.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

43 lines
No EOL
3 KiB
Text

>#include
#^ source.typst keyword.control.hash.typst
# ^^^^^^^ source.typst meta.expr.include.typst keyword.control.import.typst
>#include "ident.typ"
#^ source.typst meta.expr.include.typst
# ^^^^^^^ source.typst meta.expr.include.typst meta.expr.include.typst keyword.control.import.typst
# ^ source.typst meta.expr.include.typst meta.expr.include.typst
# ^ source.typst meta.expr.include.typst meta.expr.include.typst string.quoted.double.typst punctuation.definition.string.typst
# ^^^^^^^^^ source.typst meta.expr.include.typst meta.expr.include.typst string.quoted.double.typst
# ^ source.typst meta.expr.include.typst meta.expr.include.typst string.quoted.double.typst punctuation.definition.string.typst
>#include;"ident.typ"
#^ source.typst keyword.control.hash.typst
# ^^^^^^^ source.typst meta.expr.include.typst keyword.control.import.typst
# ^ source.typst punctuation.terminator.statement.typst
# ^^^^^^^^^^^^ source.typst
>#include"ident.typ";
#^ source.typst keyword.control.hash.typst
# ^^^^^^^ source.typst meta.expr.include.typst keyword.control.import.typst
# ^ source.typst meta.expr.include.typst string.quoted.double.typst punctuation.definition.string.typst
# ^^^^^^^^^ source.typst meta.expr.include.typst string.quoted.double.typst
# ^ source.typst meta.expr.include.typst string.quoted.double.typst punctuation.definition.string.typst
# ^ source.typst punctuation.terminator.statement.typst
>#include("ident.typ");
#^ source.typst keyword.control.hash.typst
# ^^^^^^^ source.typst meta.expr.include.typst keyword.control.import.typst
# ^ source.typst meta.expr.include.typst meta.brace.round.typst
# ^ source.typst meta.expr.include.typst string.quoted.double.typst punctuation.definition.string.typst
# ^^^^^^^^^ source.typst meta.expr.include.typst string.quoted.double.typst
# ^ source.typst meta.expr.include.typst string.quoted.double.typst punctuation.definition.string.typst
# ^ source.typst meta.expr.include.typst meta.brace.round.typst
# ^ source.typst punctuation.terminator.statement.typst
>#include { "ident.typ" };
#^ source.typst keyword.control.hash.typst
# ^^^^^^^ source.typst meta.expr.include.typst keyword.control.import.typst
# ^ source.typst meta.expr.include.typst
# ^ source.typst meta.expr.include.typst meta.brace.curly.typst
# ^ source.typst meta.expr.include.typst
# ^ source.typst meta.expr.include.typst string.quoted.double.typst punctuation.definition.string.typst
# ^^^^^^^^^ source.typst meta.expr.include.typst string.quoted.double.typst
# ^ source.typst meta.expr.include.typst string.quoted.double.typst punctuation.definition.string.typst
# ^ source.typst meta.expr.include.typst
# ^ source.typst meta.expr.include.typst meta.brace.curly.typst
# ^ source.typst punctuation.terminator.statement.typst