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
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
That was a mistake, That configuration file was look like python :P I updated kdevelop to version 5.0 and my problem solved.