Comment Actions
We have Repository::definitionForMimetype() since KF 5.50:
https://api.kde.org/frameworks/syntax-highlighting/html/classKSyntaxHighlighting_1_1Repository.html#ad439853d5314ccaac1b8d6cc465efd05
I guess this is resolved.