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

Use more lightweight cc-mode scanning function for js2-jsx-mode #95

Merged
merged 1 commit into from
Jan 19, 2023

Conversation

Hi-Angel
Copy link
Collaborator

scan-identifiers isn't the best scan-fn (see also #94) as it moves not just through changed properties. Let's use the cc-mode one, which goes exclusively through face changes while searching for declared identifiers.

Fixes: #62

`scan-identifiers` isn't the best scan-fn (see also ankurdave#94) as it moves not
just through changed properties. Let's use the cc-mode one, which goes
exclusively through face changes while searching for declared
identifiers.

Fixes: ankurdave#62
@Hi-Angel Hi-Angel merged commit e719a95 into ankurdave:master Jan 19, 2023
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.

Every single word in a JSX block is colored in js2-jsx-mode
1 participant