Le 02/11/2022 à 16:19, Werner LEMBERG a écrit :
OK, thanks. I wonder how the heuristics could be improved. Given that a lyric hyphen must be preceded by whitespace, while normally `--` as an articulation is following a non-whitespace character, maybe a look-behind assertion for the latter would help? Something similar could be done for numbers.
This is not a priority for me compared to contributions to LilyPond and I am already lacking time to review contributions on the Pygments repository (I was made a maintainer some time after I contributed the LilyPond support). I won't work on this, but feel free to open a PR at Pygments.
OpenPGP_signature
Description: OpenPGP digital signature