[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/haskell-ts-mode cf0c9c308c 4/8: Changed indentation of inf
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/haskell-ts-mode cf0c9c308c 4/8: Changed indentation of infix |
Date: |
Mon, 16 Sep 2024 10:00:12 -0400 (EDT) |
branch: elpa/haskell-ts-mode
commit cf0c9c308c55fe8b1ae5e2f3f1f1465b576c925f
Author: pranshu sharma <pranshu@pebl>
Commit: pranshu sharma <pranshu@pebl>
Changed indentation of infix
Finally something I am happy with
---
haskell-ts-mode.el | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/haskell-ts-mode.el b/haskell-ts-mode.el
index 7ff4d7eff3..54e8e02de2 100644
--- a/haskell-ts-mode.el
+++ b/haskell-ts-mode.el
@@ -203,7 +203,11 @@
((parent-is "imports") column-0 0)
;; Infix
((node-is "infix") standalone-parent 1)
- ((parent-is "infix") parent 0)
+ ((parent-is "infix")
+ ;; Parent's first child
+ (lambda (_ parent _)
+ (treesit-node-start (treesit-node-child parent 0)))
+ 0)
;; Lambda
((parent-is "lambda") standalone-parent 2)
- [nongnu] elpa/haskell-ts-mode updated (bf632cba27 -> 575748b9a5), ELPA Syncer, 2024/09/16
- [nongnu] elpa/haskell-ts-mode ef35522e99 5/8: Fixed indent for (parent-is "match") scinario, ELPA Syncer, 2024/09/16
- [nongnu] elpa/haskell-ts-mode 739415d37d 1/8: Indent fixes(just for consistancy), ELPA Syncer, 2024/09/16
- [nongnu] elpa/haskell-ts-mode 59b146204b 6/8: Fixed indent of ']', ELPA Syncer, 2024/09/16
- [nongnu] elpa/haskell-ts-mode 2280feefe6 3/8: Comment fixed, ELPA Syncer, 2024/09/16
- [nongnu] elpa/haskell-ts-mode 575748b9a5 8/8: Indent changes to comment, case, infix, ELPA Syncer, 2024/09/16
- [nongnu] elpa/haskell-ts-mode a2b07815bc 2/8: shortening statmenet, ELPA Syncer, 2024/09/16
- [nongnu] elpa/haskell-ts-mode cf0c9c308c 4/8: Changed indentation of infix,
ELPA Syncer <=
- [nongnu] elpa/haskell-ts-mode eea9607a42 7/8: Forgot defvar + indent of case fixed, ELPA Syncer, 2024/09/16