[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: strange pygments handling of LilyPond input,Re: strange pygments han
From: |
Werner LEMBERG |
Subject: |
Re: strange pygments handling of LilyPond input,Re: strange pygments handling of LilyPond input,Re: strange pygments handling of LilyPond input,Re: strange pygments handling of LilyPond input |
Date: |
Sat, 26 Nov 2022 17:41:19 +0000 (UTC) |
>> 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.
Done, see
https://github.com/pygments/pygments/pull/2283
Werner