https://bugs.kde.org/show_bug.cgi?id=400290
Nibaldo G. <nibg...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nibg...@gmail.com --- Comment #1 from Nibaldo G. <nibg...@gmail.com> --- The syntax highlighting is determined by the extension or MIME type. I think that the extension ".conf" is very generic so as to assign it to XML, since it could belong to any other language depending on the context. In the case of Fontconfig, one solution (faster to implement) is to highlight as XML the files with the name "fonts.conf". However, other ".conf" files (ex: /etc/fonts/conf.d/) would not be highlighted as XML. However, the most optimal solution is to highlight as XML all the files that have "<?xml" in the first line & first character. Although, this feature is not present (this could also apply to other headers / shebangs, for example, highlight with Bash the files that begin with "#! /bin/sh" or "#! /bin/bash", regardless of the file extension). Also, you can use Modelines in Kate: <!-- kate: syntax XML; --> -- You are receiving this mail because: You are watching all bug changes.