emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/haskell-tng-mode 595bd44 034/385: type families


From: ELPA Syncer
Subject: [nongnu] elpa/haskell-tng-mode 595bd44 034/385: type families
Date: Tue, 5 Oct 2021 23:58:56 -0400 (EDT)

branch: elpa/haskell-tng-mode
commit 595bd441a4e85c17fe9d1b74b5d784522f6fa0d5
Author: Tseen She <ts33n.sh3@gmail.com>
Commit: Tseen She <ts33n.sh3@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

[Prev in Thread] Current Thread [Next in Thread]