D6087: Haskell: Add all language pragmas as keywords.

Gleb Popov noreply at phabricator.kde.org
Fri Jun 23 16:15:58 UTC 2017


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20170623/a7d951a3/attachment.html>


More information about the Kde-frameworks-devel mailing list