Jean Abou Samra
Jean Abou Samra
Sure you can :-)
That sounds a lot like catastrophic backtracking in the string regexp. I’ll take a look when I’m back home in a few days. Regarding escaping vs normal backslashes, I don’t...
If you want to work on the LaTeX formatter, that's very welcome. There are a number of issues about it.
The goal of Pygments is to highlight code. What is your use case? I suspect it could use better tools, starting with Python's ast module. > Le 1 mars 2022...
See my braindump on this at https://github.com/pygments/pygments/issues/1603#issuecomment-1140501125 (mentioning here for those only subscribed to this issue, please keep the discussion in a central place).
How about contributing the lexer yourself? See https://pygments.org/docs/lexerdevelopment/ for how to go about it.
> I can create a PR, just would like to have approval from one of the maintainers first, if adding this to the documentation sounds like a good idea. SGTM.
Needs solving merge conflicts.
CI is failing since you need to update the token output.
Done, but it still fails, how did you do the update? It's missing lots of changes. Normally, `pytest --update-goldens tests/examplefiles/nim` should do the right thing.