Skip to content

Add Ngx v19 and v20 language features #37

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

Merged
merged 4 commits into from
Jun 4, 2025

Conversation

deathaxe
Copy link
Contributor

@deathaxe deathaxe commented Jun 4, 2025

Resolves #36

This PR adds language features mentioned in #36.

Note: Tagged template strings don't include syntax highlighting at this point to maintain compatibility with ST4152.

Once this PR is merged and a ST4152 compatible release is made, another PR is prepared to add syntax highlighting and increase least required ST build to 4180.

The primary reason is we probably want to support both, properties and selectors, which requires CSS features, available with more recent ST builds only.

# properties
css`color: red`

# selectors
css`tag:first-child {color: red}`

deathaxe added 4 commits June 4, 2025 12:45
Add dedicated pattern primarily to support ligatures.
This commit adds basic support for untagged and tagged template strings.

Regular expressions are highlighted using ST's RegExp (Basic) syntax
as a dedicated JavaScript specific regexp syntax is far inferior, especially
with regards to supporting interpolation.
@princemaple
Copy link
Owner

🙏 thanks heaps!

@princemaple princemaple merged commit 370bb1c into princemaple:main Jun 4, 2025
1 check passed
@deathaxe deathaxe deleted the feat/template-strings branch June 4, 2025 12:07
@princemaple
Copy link
Owner

image
Does this look good?

@deathaxe
Copy link
Contributor Author

deathaxe commented Jun 4, 2025

Yep, with 4152- prefixed tag, we can split release branches.

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

Successfully merging this pull request may close these issues.

Not implemented yet
2 participants