lean: fix the name regex by eric-wieser · Pull Request #2614 · pygments/pygments

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@eric-wieser

Copy link

Contributor

This corrects it to include the full range of unicode characters that are legal.

This also takes the opportunity to add support for highlighting `name and ``checked_name literals.

This corrects it to include the full range of unicode characters that are legal

variables {ι A B : Type*} (𝒜 : ι → A) (ℬ : ι → B)

#check `𝒜.a
Copy link

Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is mis-highlighted by github, the .a is part of the symbol too!

@Anteru Anteru added changelog-update

Items which need to get mentioned in the changelog

A-lexing

area: changes to individual lexers

labels

Dec 30, 2023

@Anteru

Copy link

Collaborator

Anteru commented

Dec 30, 2023

Merged, thanks. My Unicode skills aren't good enough to understand whether the ranges map but I presume you know what you're doing there :)

@Anteru Anteru merged commit 4269c7e into pygments:master

Dec 30, 2023

@Anteru Anteru added this to the 2.18.0 milestone

Dec 30, 2023

@Anteru Anteru removed the changelog-update

Items which need to get mentioned in the changelog

label

Dec 30, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

A-lexing

area: changes to individual lexers

Projects

None yet

Milestone

2.18.0

Development

Successfully merging this pull request may close these issues.

2 participants

@eric-wieser @Anteru