nibags created this revision. nibags added reviewers: Framework: Syntax Highlighting, dhaumann, cullmann. Herald added projects: Kate, Frameworks. Herald added subscribers: kde-frameworks-devel, kwrite-devel. nibags requested review of this revision.
REVISION SUMMARY BUG: 400290 The extension `.conf` is very generic, since depending on the context, it can be used with a different language, and assigning it to the "INI Files" highlighter isn't very convenient. For example, in "Fontconfig" the XML files have a `.conf` extension. Therefore, I propose that the `.conf` extension isn't assigned to any syntax highlighter, so use the MIME type to determine the highlighting mode in those files. For example, when applying this patch, the Fontconfig files (located in `/etc/fonts/`) are highlighted as XML by default. REPOSITORY R216 Syntax Highlighting BRANCH remove-ext-conf-ini REVISION DETAIL https://phabricator.kde.org/D21288 AFFECTED FILES data/syntax/ini.xml To: nibags, #framework_syntax_highlighting, dhaumann, cullmann Cc: kwrite-devel, kde-frameworks-devel, domson, michaelh, ngraham, bruns, demsking, cullmann, sars, dhaumann