tinymist/syntaxes/textmate/tests/unit/editing/if2.typ.snap
Myriad-Dreamin 2e39afde78
fix: better grammar on incomplete AST (#140)
* dev: error tolerance on editing let/show statements

* dev: error tolerance on editing if/show statements

* dev: error tolerance on editing while/for statements

* dev: error tolerance on editing if/while/for statements

* dev: better token for and or not
2024-04-01 01:51:42 +08:00

12 lines
No EOL
373 B
Text

>
>#if a
#^ source.typst keyword.control.hash.typst
# ^^ source.typst meta.expr.if.typst keyword.control.conditional.typst
# ^ source.typst meta.expr.if.typst
# ^ source.typst meta.expr.if.typst variable.other.readwrite.typst
>
>test #a
#^^^^^ source.typst
# ^ source.typst variable.other.readwrite.hash.typst
# ^ source.typst variable.other.readwrite.typst
>