Skip to content

Snowball len fix #2508

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

Merged
merged 2 commits into from
Sep 22, 2023
Merged

Snowball len fix #2508

merged 2 commits into from
Sep 22, 2023

Conversation

ojwb
Copy link
Contributor

@ojwb ojwb commented Sep 16, 2023

Treat Snowball's len like size

In Snowball len is very like size (the difference is len gives the length in Unicode characters rather than bytes), so change len to be Name.Builtin to be consistent with the existing highlighting of size.

In Snowball `len` is very like `size` (the difference is `len` gives
the length in Unicode characters rather than bytes), so change `len` to
be Name.Builtin to be consistent with the existing highlighting of
`size`.
@Anteru Anteru added the A-lexing area: changes to individual lexers label Sep 17, 2023
@jeanas jeanas merged commit 1797871 into pygments:master Sep 22, 2023
@jeanas
Copy link
Contributor

jeanas commented Sep 22, 2023

Thanks, look good.

@ojwb ojwb deleted the snowball-len-fix branch September 22, 2023 20:06
@Anteru Anteru added this to the 2.17 milestone Nov 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-lexing area: changes to individual lexers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants