arrowdodger added a comment.
In https://phabricator.kde.org/D6087#118963, @dhaumann wrote: > Demo for the highlighting rule - I don't think I can say anything to the auto completion issue. I am pretty sure it is unrelated to your xml file. Sure. Pragmas have following form: {-# blabla #-} Specifically, pragmas that enable language extensions looks like {-# LANGUAGE OverlappingInstances, BangPatterns #-} As I've found today, pragmas can span onto multiple lines: {-# LANGUAGE OverlappingInstances, BangPatterns #-} REPOSITORY R216 Syntax Highlighting BRANCH master REVISION DETAIL https://phabricator.kde.org/D6087 To: arrowdodger, #framework_syntax_hightlighting, dhaumann Cc: dhaumann, #frameworks