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

Have matching begin-end keywords light each other up #14

Closed
david-christiansen opened this issue Jan 5, 2024 · 0 comments
Closed

Have matching begin-end keywords light each other up #14

david-christiansen opened this issue Jan 5, 2024 · 0 comments
Labels
highlighting Improvements or bugs related to highlighted Lean code

Comments

@david-christiansen
Copy link
Collaborator

Hovering the "end" keyword of a mutual block should cause the "mutual" keyword to also light up in HTML output. This goes for other blocks terminated by end as well, like section - this sends a useful signal to new users, as much Lean style relies on the presence of things like IDE breadcrumbs that aren't present in examples in documents.

@david-christiansen david-christiansen added the highlighting Improvements or bugs related to highlighted Lean code label Jan 5, 2024
david-christiansen added a commit that referenced this issue Feb 9, 2024
Now keywords don't show their parser names, and they participate in
occurrence highlighting

Fixes #14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
highlighting Improvements or bugs related to highlighted Lean code
Projects
None yet
Development

No branches or pull requests

1 participant