Syntax highlighting for *.conf files not working Reproducible: Always Steps to Reproduce: Open a .conf file in Kate/Kwrite Actual Results: No syntax highlighting Expected Results: Correct syntax highlighting Version 15.08.3 Using: KDE Frameworks 5.15.0 Qt 5.5.0 (built against 5.5.0) The xcb windowing system openSUSE Leap 42.1 using Plasma 5, all updated
Conf-firmed. Arch Linux 64-bit Kate 16.04.2 KDE Frameworks 5.23.0 Qt 5.7 xcb wm
What is .conf? I am not aware of "one" .conf content standard, on my system I find ini style, xml style, something style files, therefore I don't see how to fix that. If there should be better content based detection, file a bug to mime magic.
A .conf file is the same which vim and other text editors successfully add syntax highlighting to.
That comment doesn't help. I have pointed out: alone on my machine, I have "*.conf" files with completly different formats. Therefore I can't add a highlighting for this. For some .conf mime magic might detect the right mime-type, then you have the right highlighting, else not. Just do a find in etc for *.conf, you will find a wild mix of things.
How do vim and others do it then?