Bug 362334 - .cfg file isn't higlighted correctly
Summary: .cfg file isn't higlighted correctly
Status: RESOLVED WORKSFORME
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: 4.6.0
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL: http://i64.tinypic.com/33wy71h.png
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-27 06:22 UTC by Orhan Gazi Hafif
Modified: 2016-09-22 08:31 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.