https://bugs.kde.org/show_bug.cgi?id=400290
Nibaldo G. <nibg...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REPORTED |RESOLVED Latest Commit| |https://commits.kde.org/syn | |tax-highlighting/71446d3e9e | |5eda6b524be81726dd461f7c942 | |f1e Resolution|--- |FIXED --- Comment #6 from Nibaldo G. <nibg...@gmail.com> --- Git commit 71446d3e9e5eda6b524be81726dd461f7c942f1e by Nibaldo González. Committed on 19/05/2019 at 11:48. Pushed by ngonzalez into branch 'master'. Remove .conf extension from "INI Files" hl, to determine the highlighter using MIME type Summary: 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. Reviewers: #framework_syntax_highlighting, dhaumann, cullmann Reviewed By: #framework_syntax_highlighting, cullmann Subscribers: kwrite-devel, kde-frameworks-devel Tags: #kate, #frameworks Differential Revision: https://phabricator.kde.org/D21288 M +1 -1 data/syntax/ini.xml https://commits.kde.org/syntax-highlighting/71446d3e9e5eda6b524be81726dd461f7c942f1e -- You are receiving this mail because: You are watching all bug changes.