Bug 377163

Summary: Syntax hilight problem when single quote met
Product: [Applications] kate Reporter: Igor Volnyi <igorvolnyi>
Component: kwriteAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Screenshot and problematic file

Description Igor Volnyi 2017-03-03 13:42:34 UTC
Created attachment 104337 [details]
Screenshot and problematic file

See the attached (zipped) screenshot and the file that shows the problem. File is from Drupal 8.2.6.
Comment 1 Dominik Haumann 2017-03-05 12:28:02 UTC
This is not a bug.

By default, *.config files seem to be highlighted as LogTalk syntax highlighting.
You need to switch to XML via Tools > Highlighting > Markup > XML.

You can also persistently change this if you edit the Mode in Settings > Configure > Open/Save > Modes & Filetypes, choose "Markup/XML", and then *.config to the file extensions. You probably also need to raise the priority to beat the LogTalk highlighting.