Closed f1rstlady closed 1 year ago
This PR seems to be complete. Was it intended to be a draft?
Yes, it is complete. I submitted it as a draft due to this line in the contribution guidelines.
I didn't mean to keep it as a draft, you should make a draft PR when you work on it so that other people won't start working on the same thing. Once it is complete mark it as "Ready for review".
But that's a fair point, I'll make it more clear in the contributing file.
Ok, that makes sense!
When calculating the length of the custom section, the substrings changing the highlight group are counted although not being displayed. This leads to erroneous truncation.
Omitting the highlight groups substrings in the string length calculation fixes this issue.