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

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

[nongnu] elpa/haskell-tng-mode ad570a0 039/385: out of date comments


From: ELPA Syncer
Subject: [nongnu] elpa/haskell-tng-mode ad570a0 039/385: out of date comments
Date: Tue, 5 Oct 2021 23:58:57 -0400 (EDT)

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

    out of date comments
---
 haskell-tng-font-lock.el | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/haskell-tng-font-lock.el b/haskell-tng-font-lock.el
index db62463..9115fe9 100644
--- a/haskell-tng-font-lock.el
+++ b/haskell-tng-font-lock.el
@@ -163,10 +163,6 @@
        (haskell-tng:font:multiline:anchor-rewind 1)
        (haskell-tng:font:multiline:anchor-rewind)
        (0 'haskell-tng:constructor))
-      ;; TODO the parens around constructors shouldn't be coloured. Is there a
-      ;; way to return an arbitrary number of groups and colour all of them?
-      ;; Otherwise this may need a standalone matcher outside the anchor, or a
-      ;; cleanup job.
       (,(rx-to-string `(: word-start ,conid word-end))
        (haskell-tng:font:multiline:anchor-rewind 1)
        (haskell-tng:font:multiline:anchor-rewind)
@@ -332,7 +328,8 @@ succeeds and may further restrict the FIND search limit."
 
 (haskell-tng:font:multiline module
   (rx line-start "module" word-end)
-  (rx line-start "module" word-end (group (+ anything)))
+  (rx line-start "module" word-end (group (+ anything))
+      word-start "where" word-end)
   haskell-tng:indent-close)
 
 (provide 'haskell-tng-font-lock)



reply via email to

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