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

[Not for merge yet] Highlight <foo> differently from <Foo> #668

Closed
wants to merge 1 commit into from

Conversation

gaearon
Copy link
Contributor

@gaearon gaearon commented Dec 16, 2022

This is a port of changes in lezer-parser/javascript@0017330.

See codemirror/dev#956 for context.

I don't think merging this would actually work unless you backport the changes from codemirror/dev#956 to the old version of @codemirror/highlight and @lezer/lang-javascript. Which I did in my local copy but maybe that's too much. I really want this change though.


A proper way would be to of course actually upgrade. And then do this PR.

@vercel
Copy link

vercel bot commented Dec 16, 2022

@gaearon is attempting to deploy a commit to the CodeSandbox Team on Vercel.

A member of the Team first needs to authorize it.

@codesandbox-ci
Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit fa400e1:

Sandbox Source
Sandpack Configuration

@gaearon
Copy link
Contributor Author

gaearon commented Dec 16, 2022

It doesn't seem like this works even locally though. Not sure what's up.

@gaearon
Copy link
Contributor Author

gaearon commented Dec 16, 2022

Nvm. It does work. (With my other changes.)

Screenshot 2022-12-16 at 01 51 32

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