Bug 362334

Summary: .cfg file isn't higlighted correctly
Product: [Applications] kdevelop Reporter: Orhan Gazi Hafif <orhangazi4401>
Component: generalAssignee: kdevelop-bugs-null
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: NOR    
Version: 4.6.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
URL: http://i64.tinypic.com/33wy71h.png
Latest Commit: Version Fixed In:

Description Orhan Gazi Hafif 2016-04-27 06:22:17 UTC
The cfg file which written in python, isn't highlighted correctly. I've tried deleting cfg extension from Configuration/Nagios Filetype in Configure Editor --> Open/Save --> Modes & Filetypes tab. But it doesn't make sense.

Reproducible: Always
Comment 1 Kevin Funk 2016-09-08 19:47:03 UTC
A .cfg file is not a known suffix for Python.

Did you try setting the file's modeline (cf. https://kate-editor.org/2006/02/09/kate-modelines/)?

Just add this to the end of the file, then reopen it:
# kate: syntax python
Comment 2 Orhan Gazi Hafif 2016-09-22 08:31:49 UTC
That was a mistake, That configuration file was look like python :P 
I updated kdevelop to version 5.0 and my problem solved.