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

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

[nongnu] elpa/haskell-ts-mode eea9607a42 7/8: Forgot defvar + indent of


From: ELPA Syncer
Subject: [nongnu] elpa/haskell-ts-mode eea9607a42 7/8: Forgot defvar + indent of case fixed
Date: Mon, 16 Sep 2024 10:00:13 -0400 (EDT)

branch: elpa/haskell-ts-mode
commit eea9607a4236e7b402f033912410659aaff1b5c1
Author: pranshu sharma <pranshu@pebl>
Commit: pranshu sharma <pranshu@pebl>

    Forgot defvar + indent of case fixed
---
 haskell-ts-mode.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/haskell-ts-mode.el b/haskell-ts-mode.el
index 71e46e3dad..ad75125643 100644
--- a/haskell-ts-mode.el
+++ b/haskell-ts-mode.el
@@ -169,7 +169,7 @@
   '("comment" "cpp" "haddock")
   "Node types that will be ignored by indentation.")
 
-(setq haskell-ts-indent-rules
+(defvar haskell-ts-indent-rules
   (let* ((p-sib
         (lambda (node arg)
           (let* ((func (if arg
@@ -281,7 +281,7 @@
        0)
        ((n-p-gp nil "signature" "foreign_import") grand-parent 3)
 
-       ((parent-is "case") parent 4)
+       ((parent-is "case") haskell-ts--stand-alone-parent 4)
        
        ;; Backup
        (catch-all parent 2)))))



reply via email to

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