branch: elpa/haskell-tng-mode
commit 595bd441a4e85c17fe9d1b74b5d784522f6fa0d5
Author: Tseen She <ts33n....@gmail.com>
Commit: Tseen She <ts33n....@gmail.com>

    type families
---
 haskell-tng-font-lock.el | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/haskell-tng-font-lock.el b/haskell-tng-font-lock.el
index 946a300..2ea6e58 100644
--- a/haskell-tng-font-lock.el
+++ b/haskell-tng-font-lock.el
@@ -114,6 +114,10 @@
           (: symbol-start (char ?\\))))
       . 'haskell-tng:keyword)
 
+     ;; TypeFamilies
+     (,(rx word-start "type" (+ space) (group "family") word-end)
+      (1 'haskell-tng:keyword))
+
      ;; Types
      (haskell-tng:font:explicit-type:keyword
       (1 'haskell-tng:type keep))

Reply via email to