Make `lean3` an alias of Lean by eric-wieser · Pull Request #2546 · pygments/pygments
At some point there might be a push to make lean refer to Lean 4. This is consistent with how python2 is used for Python 2 code.
At some point there might be a push to make `lean` refer to Lean 4. This is consistent with how `python2` is used for Python 2 code.
@jeanas: does the commit I just pushed look ok?
Adding such an alias to __all__ breaks the test. I could switch to class LeanLexer(Lean3Lexer): pass if you prefer?
Yes, it's ok. However, it now complains that there are several conflicting lexers for the same file types. Never mind, I'll fix it.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters