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

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

[nongnu] elpa/haskell-ts-mode cc627feca3 05/61: added 'instance' to be h


From: ELPA Syncer
Subject: [nongnu] elpa/haskell-ts-mode cc627feca3 05/61: added 'instance' to be highlighted
Date: Wed, 4 Sep 2024 04:00:26 -0400 (EDT)

branch: elpa/haskell-ts-mode
commit cc627feca3f1e1cf6e2b79af7f296f3e98888372
Author: Pranshu Sharma <pranshusharma366@gmail.com>
Commit: Pranshu Sharma <pranshusharma366@gmail.com>

    added 'instance' to be highlighted
---
 haskell.el | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/haskell.el b/haskell.el
index cd715c4190..259997d0ed 100644
--- a/haskell.el
+++ b/haskell.el
@@ -8,7 +8,7 @@
           :language 'haskell
           :feature 'keyword
           `(["module" "import" "data" "let" "where" "case"
-                 "if" "then" "else" "of" "do" "in" ]
+                 "if" "then" "else" "of" "do" "in" "instance"]
                 @font-lock-keyword-face)
           :language 'haskell
           :feature 'type
@@ -27,8 +27,7 @@
                 (lambda (patterns (variable) @font-lock-variable-name-face)))
           :language 'haskell
           :feature 'match
-          `((match ("|" @font-lock-doc-face))
-                (match  ("=" @font-lock-doc-face))
+          `((match ("|" @font-lock-doc-face) ("=" @font-lock-doc-face))
                 (match ("->" @font-lock-doc-face)))
           :language 'haskell
           :feature 'comment



reply via email to

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