SUMMARY The TOML syntax file, as of commit [1] in KF5 v5.111, is set as the handler for the generic `.conf` file extension, breaking highlighting for XML-using Fontconfig `.conf` files. Could this be removed so mime-type handling is possible again? STEPS TO REPRODUCE 1. Open a Fontconfig configuration file with `.conf` extension (e.g. `/usr/share/fontconfig/conf.avail/45-latin.conf`) in Kate OBSERVED RESULT Fontconfig file opens in Kate with TOML highlighting EXPECTED RESULT Fontconfig file opens in Kate with XML highlighting ADDITIONAL INFORMATION Having a search through the Git repo, it looks like this has been fixed twice before (`.conf` was removed from Bitbake in 2017 with [2], added to INI in 2018 [3] and removed again in 2019 [4], and now added again to TOML). [1] https://invent.kde.org/frameworks/syntax-highlighting/-/commit/edf7eae1 [2] https://invent.kde.org/frameworks/syntax-highlighting/-/commit/354bbd21 [3] https://invent.kde.org/frameworks/syntax-highlighting/-/commit/8cc16753 [4] https://invent.kde.org/frameworks/syntax-highlighting/-/commit/71446d3e
I think you can associate it with 440446 (https://bugs.kde.org/show_bug.cgi?id=440446), which offers a selection by MIME type and with different priority levels for each choice.