Syntax highlight is broken when tagged template literals are used

Open
#6 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Domain
tooling

Research direction

Start by reproducing the tagged template literal example from the ReScript 11.1.0 release note and compare its highlighting with the VSCode reference images in the issue. Trace the repository's syntax-highlighting entry point and query definitions, then verify that tagged template literals are highlighted consistently with the reference.

Written by the indexing model from the issue text.

Description

when using https://rescript-lang.org/blog/release-11-1-0#tagged-template-literals syntax highlight gets broken:

Image
Here's the same file in VSCode for reference:

Image

Dominant language
Tree-sitter Query
Stars
27
Forks
7
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from rescript-lang/rescript-zed

All issues in rescript-lang/rescript-zed

Similar issues

More DevTools issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.