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

Feature Request: Add faces for ESNext tokens #452

Closed
elzii opened this issue Sep 29, 2017 · 0 comments
Closed

Feature Request: Add faces for ESNext tokens #452

elzii opened this issue Sep 29, 2017 · 0 comments

Comments

@elzii
Copy link

elzii commented Sep 29, 2017

It would great if JS2 mode could define some faces for some ES2015/7/Next/whatever tokens. For example, the js2-ARROW and js2-TRIPLEDOT, ( => and { ...prop } respectively)

This would give people the ability to supplement syntax highlighting themes easily, and handle more special cases. Coming from other editors for example, the import keywords are often colored different than a const keyword, but both default to font-lock-keyword-face.

New to lisp, so if there's any easier way to do it I'd love to know!

@elzii elzii closed this as completed Aug 5, 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

No branches or pull requests

1 participant