Skip to content

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