Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve syntax highligting for escaped characters #929

Merged
merged 3 commits into from
Feb 27, 2024

Conversation

DZakh
Copy link
Contributor

@DZakh DZakh commented Feb 27, 2024

@DZakh DZakh force-pushed the grammar-string-character-escape branch from 25e4733 to d5f1e8d Compare February 27, 2024 09:18
@DZakh
Copy link
Contributor Author

DZakh commented Feb 27, 2024

Ready for review

@zth
Copy link
Collaborator

zth commented Feb 27, 2024

Nice!

@zth zth merged commit 49b4443 into rescript-lang:master Feb 27, 2024
5 checks passed
@DZakh
Copy link
Contributor Author

DZakh commented Feb 27, 2024

Oh, it also fixed highlighting for the line break

image

aspeddro pushed a commit to aspeddro/rescript-vscode that referenced this pull request Mar 4, 2024
* Support escape in tagged templates

* Grammar: use string character escape regex from ts grammar

* Add changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants