|
From: | Jean Abou Samra |
Subject: | Re: strange pygments handling of LilyPond input, Re: strange pygments handling of LilyPond input |
Date: | Wed, 2 Nov 2022 16:22:09 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.1 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |