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

Add an option to highlight the first term of each level #75

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bcc32
Copy link

@bcc32 bcc32 commented May 26, 2023

When reading heavily nested data, such as in lisp-data-mode or other sexp-based data formats, the first term is often used for special purposes, such as the key of each entry in an alist. Enabling this feature makes such terms more visually distinctive.

For context, at Jane Street, we use this to improve highlighting of sexp-based config and data files. We hope others might find this feature generally useful as well.

Before:
ZTJmYjFmM

After:
ZDhkODAxN

When reading heavily nested data, such as in lisp-data-mode or other
sexp-based data formats, the first term is often used for special
purposes, such as the key of each entry in an alist.  Enabling this
feature makes such terms more visually distinctive.
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.

1 participant