[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/haskell-ts-mode e66403b8e6 59/61: Changes to indentatoin f
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/haskell-ts-mode e66403b8e6 59/61: Changes to indentatoin for infix |
Date: |
Wed, 4 Sep 2024 04:00:32 -0400 (EDT) |
branch: elpa/haskell-ts-mode
commit e66403b8e66b643c459fdd2346829f12cfada910
Author: pranshu <pranshusharma366@gmail.com>
Commit: pranshu <pranshusharma366@gmail.com>
Changes to indentatoin for infix
Before indentation had bug which would cause breaking AST in speicfic
scinaroes such as when infix was in 2 lines with operator in second
line
---
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 5410ce73bc..ff6ab5572e 100644
--- a/haskell-ts-mode.el
+++ b/haskell-ts-mode.el
@@ -146,8 +146,8 @@
((parent-is "comment") column-0 0)
((parent-is "imports") column-0 0)
;; Infix
- ((parent-is "infix") standalone-parent 1)
- ((node-is "infix") standalone-parent 2)
+ ((node-is "infix") standalone-parent 1)
+ ((parent-is "infix") grand-parent 0)
;; Lambda
((parent-is "lambda") standalone-parent 2)
- [nongnu] elpa/haskell-ts-mode 5248e03fc6 21/61: uc and major syntax, (continued)
- [nongnu] elpa/haskell-ts-mode 5248e03fc6 21/61: uc and major syntax, ELPA Syncer, 2024/09/04
- [nongnu] elpa/haskell-ts-mode c87df5d07b 25/61: added kw, ELPA Syncer, 2024/09/04
- [nongnu] elpa/haskell-ts-mode 8499f4c29e 11/61: uc, ELPA Syncer, 2024/09/04
- [nongnu] elpa/haskell-ts-mode 04971e0c4e 36/61: Updated ss, added more info in readme, ELPA Syncer, 2024/09/04
- [nongnu] elpa/haskell-ts-mode 2f49fe8e6a 41/61: Fixed ss name, ELPA Syncer, 2024/09/04
- [nongnu] elpa/haskell-ts-mode 764d8414ef 43/61: fixed image, ELPA Syncer, 2024/09/04
- [nongnu] elpa/haskell-ts-mode a32b73374e 49/61: Added indent para, ELPA Syncer, 2024/09/04
- [nongnu] elpa/haskell-ts-mode 5d3bd04e43 46/61: Better keymap formatting, ELPA Syncer, 2024/09/04
- [nongnu] elpa/haskell-ts-mode 044c1e54fd 48/61: changed syntax table, ELPA Syncer, 2024/09/04
- [nongnu] elpa/haskell-ts-mode 6586064122 58/61: Removed a todo item, ELPA Syncer, 2024/09/04
- [nongnu] elpa/haskell-ts-mode e66403b8e6 59/61: Changes to indentatoin for infix,
ELPA Syncer <=
- [nongnu] elpa/haskell-ts-mode 7acc4e8627 55/61: Colouring for type synonmyms, ELPA Syncer, 2024/09/04