Skip to content

Conversation

@ivanharvard
Copy link

An alternative solution to #78 and #99.

See PR #119 for the original solution.

Now, .txt files will use our custom WordLexer. A word is considered any continuous stream of letters, digits, or underscores, uninterrupted by any punctuation or whitespace. Based off of pygment's RegexLexer.

Removes support for pygment's TextLexer.

Copy link
Contributor

@rongxin-liu rongxin-liu left a comment

Choose a reason for hiding this comment

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

Looks great!

@rongxin-liu rongxin-liu merged commit c4abb50 into develop Jul 30, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Distribution code included when comparing files without extensions Comparing .txt yields no result

3 participants