You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
According to https://typst.app/docs/reference/model/ref/ it is possible to specify a supplement to @[supplement] references in typst.
I use the supplement parameter select between the section or section name reference templates in my custom REF override.
As you can see in the attached screenshot, the syntax highlighting interprets the closing bracket of the REF supplement as the closing bracket of the block. Eventually, the closing bracket of the block is colored as an error.
This is not a significant issue, as the code compiles just fine.
Package/Software version:
tinymist extension version: v0.12.2.
vscode version: v1.95.2
os version: linux 6.11.6-arch1-1
The text was updated successfully, but these errors were encountered:
It is hard to do syntax highlighting on typst's brackets ('[', ']'), as typst permits unbalanced brackets in top-level markup but it introduces bad bracket colorization. I'll considering whether we should render all brackets, which is bad in the above mentioned case but works well in more common cases.
Describe the bug
According to https://typst.app/docs/reference/model/ref/ it is possible to specify a supplement to @[supplement] references in typst.
I use the supplement parameter select between the section or section name reference templates in my custom REF override.
As you can see in the attached screenshot, the syntax highlighting interprets the closing bracket of the REF supplement as the closing bracket of the block. Eventually, the closing bracket of the block is colored as an error.
This is not a significant issue, as the code compiles just fine.
Package/Software version:
tinymist extension version:
v0.12.2
.vscode version: v1.95.2
os version: linux 6.11.6-arch1-1
The text was updated successfully, but these errors were encountered: